unplugin-vue-router: Cannot find module 'vue-router/auto' or its corresponding type declarations
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 anymore
which leands to
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- docs: add instructions about moduleResolution: Bundler See #323 — committed to posva/unplugin-vue-router by posva 4 months ago
For folks who ran into this even with
moduleResolution: Bundler
— try bumping upvue-router
from 4.1 to 4.3. That fixed it for me!I think Vuex types need to be fixed 😅
I have the same problem have to go back to 7.0.
Thanks It was the “moduleResolution”: “Bundler” that fix it.