mobxjs / mobx-vue

🐉 Vue bindings for MobX
MIT License
475 stars 22 forks source link

Mobx6 not working #73

Closed snapxtp closed 2 years ago

snapxtp commented 3 years ago

When I download mobx-vue, it comes with version 2.0.11 and doesn't work with mobx6, it gives a webpack object error in the console. Does this plugin work for vue.js with mobx 6 without using @pattern?

Thanks.

iChenLei commented 3 years ago

Mobx6 support added by https://github.com/mobxjs/mobx-vue/pull/69, not release now. I will release a alpha version as soon as possible.

iChenLei commented 3 years ago

And vue3 support is still work in progress.

iChenLei commented 3 years ago

@snapxtp Please try npm install mobx-vue@next, we release a alpha version which support mobx6 and vue2.x, your feedback is very important for us, Thanks.

snapxtp commented 3 years ago

Great I will try it and share the feedback with you. Thanks for the great job

snapxtp commented 3 years ago

It didn't work in my project, I couldn't compile

"mobx": "^6.3.2", "mobx-vue": "^2.1.0-alpha.4", "vue": "^2.6.11",

note: The error I get when upgrading to mobx-vue alpha version. I completely upgraded the node_module folder and updated the versions.

ERROR:

To install it, you can run: npm install --save mobx-vue

iChenLei commented 3 years ago

Thanks for feedback, I will debug it today. ❤️

iChenLei commented 3 years ago

@snapxtp Can you try it now 2.1.0-alpha.5? I fix the Github Actions bug, build the correct artifacts to npm registry. Thanks u for fast try and give me feedback.

iChenLei commented 2 years ago

v2.1.0 released, so close this issue