Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in running the Vue #650

Closed
mm58508536 opened this issue Apr 27, 2022 · 5 comments
Closed

error in running the Vue #650

mm58508536 opened this issue Apr 27, 2022 · 5 comments
Labels
bug Something isn't working complete Vue
Milestone

Comments

@mm58508536
Copy link

Environments

  • Framework name: vue
  • Framework version: 2.6.14
  • Moveable Component version: moveable@0.29.4 & vue-moveable@beta
  • Testable Address(optional):

Description

I just run demo in my project, but always throw this error:
image

the same situation when i use vue-moveable
but when I use probil/vue-moveable(based on the moveable 0.25.2) , It works.
I find this problem occurred in the react-simple-compat
image
Comparison of correct and wrong objects :
image

@daybrush
Copy link
Owner

@mm58508536
I'm sorry. It seems that the commonjs type file was built incorrectly. I have figured out the cause and will fix it soon.

@daybrush daybrush added bug Something isn't working Vue labels Apr 27, 2022
daybrush added a commit that referenced this issue Apr 27, 2022
daybrush added a commit that referenced this issue Apr 27, 2022
@daybrush
Copy link
Owner

@mm58508536

  • lit-moveable 0.6.6
  • moveable 0.29.6
  • preact-moveable 0.31.6
  • react-compat-moveable 0.17.6
  • react-moveable 0.32.5
  • svelte-moveable 0.21.6
  • vue-moveable 2.0.0-beta.13
  • vue3-moveable 0.4.6
  • ngx-moveable 0.26.6

moveable's new version is released. Try it again.

@mm58508536
Copy link
Author

mm58508536 commented May 6, 2022

It works! thank you for your support! but I found “import { VueMoveable } from 'vue-moveable';” instand of “import Moveable from 'vue-moveable';” some import error when I use “import Moveable from 'vue-moveable';”

@daybrush daybrush added this to the 0.29.9 milestone May 7, 2022
@daybrush
Copy link
Owner

daybrush commented May 7, 2022

@mm58508536

I'll fix commonjs bug. Thank you :)

daybrush added a commit that referenced this issue May 7, 2022
@daybrush
Copy link
Owner

daybrush commented May 8, 2022

@mm58508536

Test 2.0.0-beta.17 version. Thank you :)

daybrush added a commit that referenced this issue May 8, 2022
@daybrush daybrush closed this as completed Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete Vue
Projects
None yet
Development

No branches or pull requests

2 participants