What's blocking you to upgrade to Vue Router 5? (it has no breaking changes)
I plan to release v6 before 2027 and discontinue security releases for v4 soon after
Personally I think you should only auto import official primitives (things from vue, vue-router, nuxt `#app` and `#build`, pinia, etc)
Agents have now learned about them and generate code without the imports and do the right assumptions
Auto importing components is probably what
I originally came up with the idea of auto imports, which landed as Nuxt default
I can no longer recommend them. With agents, syntax sugars are no longer valuable to trade for explicitness
I would personally suggest disabling it, here is the tool:
github.com/antfu/nuxt-exp…