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

Vuex-pathify causing warnings when imported into Vue 3 (Quasar v2) project #128

Open
skmbr opened this issue Apr 4, 2021 · 5 comments
Open
Labels

Comments

@skmbr
Copy link

skmbr commented Apr 4, 2021

Describe the bug
As soon as I import vuex-pathify anywhere I see this warning in the console, always four times in a row:

 warning  in ./node_modules/vue-class-component/dist/vue-class-component.esm.js

"export 'default' (imported as 'Vue') was not found in 'vue'

 warning  in ./node_modules/vue-class-component/dist/vue-class-component.esm.js

"export 'default' (imported as 'Vue') was not found in 'vue'

 warning  in ./node_modules/vue-class-component/dist/vue-class-component.esm.js

"export 'default' (imported as 'Vue') was not found in 'vue'

 warning  in ./node_modules/vue-class-component/dist/vue-class-component.esm.js

"export 'default' (imported as 'Vue') was not found in 'vue'

Expected behaviour
No warnings in the console

Additional context
I've found similar posts from users of vue-bootstrap that suggest that package doesn't support vue 3 yet. Is this the case here?

Here's an example of a user having a similar problem with vue-bootstrap: https://stackoverflow.com/questions/63768491/export-default-imported-as-vue-was-not-found-in-vue

@davestewart
Copy link
Owner

davestewart commented Apr 10, 2021

Hi @skmbr,

Sorry for the delay in getting back to you.

It does not, yet. I should find time to do this officially but I'm stretched on other projects right now.

I'm hoping to hit some milestones in the next couple of weeks though, and then I think I should take some time to look at this.

There was a decision made a while back to make Vue Class Component a dependency of Vuex Pathify a while ago; I will probably need to look at that again (it wasn't really my area, and ended up being a community PR).

Is this a blocker for you in the meantime? Did you manage to make it work in Vue 3?

Click the label to see all Vue 3-related posts.

@skmbr
Copy link
Author

skmbr commented Apr 10, 2021

Hi @davestewart ,

No worries, thanks for getting back to me!

Apart from the warnings it all seems to be working fine! Since they are just warnings it shouldn't be a major blocker, and I'm probably at least a month away from releasing this version of my app, but I thought it would be worth raising - even if (or especially if) it led to me finding out I was just doing something stupid! :)

Thanks again, and thanks for all your work!

@davestewart
Copy link
Owner

No worries! And thanks for letting me know anyway :)

Feel free to bug me if I don't make any updates 😬

@skmbr
Copy link
Author

skmbr commented Apr 12, 2021

Will do! But not too soon! :)

@NGPixel
Copy link
Contributor

NGPixel commented Sep 25, 2021

@skmbr See #130 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants