-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Cannot find module 'vue-router/auto' or its corresponding type declarations #323
Comments
I cannot reproduce, I get the same issue as #322. You might have hit a cache issue? |
:( what would be caching this do you think ? I created a new project for that reproducible |
That’s weird but I can’t reproduce it |
Can you try with the new version? I still can't reproduce it |
I can reproduce of typed-router.d.ts missing the /auto the module after upgrading to 0.8. This was on a project using create vuetify. Steps to reproduce:
Only the auto-routes module renamed in 0.8 is generated. |
@juw177 there is a client file to add (instructions in changelog) the template will need to be updated alongside this package |
Thanks @posva , yes, I have added |
Still nothing with 0.8.4. Not sure if it matters, but I'm using yarn v4 pnp as package manager |
I have the same problem have to go back to 7.0. |
@Ribeiro-Tiago #118 |
Setting |
Thanks @posva , that worked. As for @Ribeiro-Tiago , I think the problem with your confis is you have defined types twice so overwrote the other. |
Thanks It was the "moduleResolution": "Bundler" that fix it. |
@posva indeed, using It does break typing for vuex imports, |
I think Vuex types need to be fixed 😅 |
For folks who ran into this even with |
This (and none of the previous solutions in this page) was what made it work for me, thank you! |
With version 0.8.x the typings for vue-router/auto disappeared. They don't seem to be part of the
unplugin-vue-router/client
that gets added to tsconfig, nor are they present in the typed-router.d.ts anymorewhich leands to
repo: https://github.com/Ribeiro-Tiago/repro-repo
The text was updated successfully, but these errors were encountered: