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

combination of nuxt-typed-router and vuestic breaks the auto-import / component resolution of Volar #71

Closed
thunfisch987 opened this issue Feb 15, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@thunfisch987
Copy link
Contributor

thunfisch987 commented Feb 15, 2023

Hi,
when using nuxt-typed-router and vuestic (@vuestic/nuxt) together the auto-imports / component resolution of Volar breaks.
It only works when implicitly importing every component.
This is only a problem with Volar, nuxt dev and so on still works.
It still works when only using one of them, but breaks when using both.
How can i get more information about why it breaks?
Should i rather only ask in the repository of Volar?

@thunfisch987
Copy link
Contributor Author

It works when reloading VSCode but as soon as you change something in the file or go to another file it breaks:

image
image

changing something:

image
image

implicitly importing the component

image

@thunfisch987
Copy link
Contributor Author

thunfisch987 commented Feb 15, 2023

#70 probably/maybe fixes this, i'm gonna test later

@victorgarciaesgi
Copy link
Owner

Yep was thinking it could be related, tell me if it fixes your problem!

@thunfisch987
Copy link
Contributor Author

It's fixed! Thanks @mahdiboomeri !

@thunfisch987
Copy link
Contributor Author

tried the 3.0.0 version, it's back again.
might be because of the Route path autocomplete

@thunfisch987
Copy link
Contributor Author

dev server runs fine, but the types aren't working

@victorgarciaesgi
Copy link
Owner

Arrg this one is so frustrating. I had to revert to @vue/runtime-core because vue-router is using it too and breaking all other typings with it. I will see how to correct this nicely

@victorgarciaesgi victorgarciaesgi added the bug Something isn't working label Feb 23, 2023
@victorgarciaesgi
Copy link
Owner

You can try v3.0.1, reverted it to 'vue'

@thunfisch987
Copy link
Contributor Author

thunfisch987 commented Feb 23, 2023

That works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants