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

TypeError with Vue 3 #2

Closed
mblackritter opened this issue Jun 30, 2021 · 5 comments
Closed

TypeError with Vue 3 #2

mblackritter opened this issue Jun 30, 2021 · 5 comments

Comments

@mblackritter
Copy link

mblackritter commented Jun 30, 2021

Hi Vyacheslav,

thanks for the hint over at Vuex-Typescript, because I was just looking for the right Vuex modularization and typing package, so this must be the best "bujaka jaka jak"-surprise I coincidentally came by this year! 🥳🎉

It directly felt right, very right, and after implementing it (but see below), checking a few other solutions, and reconfirming myself how messy module management (rootThis, rootThat, ...) still becomes even with latest Vuex 4, I'm convinced that your way is what Vuex itself should be doing - perfect! 😻

But does it really already support Vue 3? 🤔

Because after transforming my store into Vuexok magic, and in frenetic expectations of a new level of store, all I could get from it was the following, which makes me guess I somehow missed the Vue 3 flag/option/package. 🙃

TypeError: Object is not a constructor (evaluating 'new Vue__default['default']()')

Tested it with plain Vue 3 CLI and Vite - same result.

Btw., what's the story to the name of Vuexok, as maybe Vuexnov could make you even more a well deserved legend! 😹💦

@OmgImAlexis
Copy link
Contributor

@mblackritter you'll just need to wait for the next release as updating to the current GitHub code fixes the issue.

This was fixed by 1dbed61

@OmgImAlexis
Copy link
Contributor

@spb-web any chance on a new release?

@spb-web
Copy link
Owner

spb-web commented Jul 17, 2021

@OmgImAlexis @mblackritter
Hi. Release coming soon in short time

@spb-web
Copy link
Owner

spb-web commented Jul 17, 2021

Fix released

@spb-web
Copy link
Owner

spb-web commented Jul 18, 2021

@mblackritter Problem solved? May I close the issue?

@spb-web spb-web closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants