Auto-imports are not enabled by default in Nuxt v3 to prevent breaking changes in existing projects.To use these auto-imported utils and types, you must first set future.compatibilityVersion: 4 in your nuxt.config.ts.
Auto-imports are not enabled by default in Nuxt v3 to prevent breaking changes in existing projects.To use these auto-imported utils and types, you must first set future.compatibilityVersion: 4 in your nuxt.config.ts.
I'm writing code in ~/shared where multiple-files will export the same name, because they are alternate implementations of the same interface. I want to be explicit in my client+server code about which file is imported in all cases.
I realize this will work on Nuxt 3, but I don't want to use a pattern that will apparently just break on Nuxt 4.
Is there a way to mark specific files as "do not auto-import from this file"? Or a different recommended approach?