Auto Imports
En esta página
::note In the rest of the migration documentation, you will notice that key Nuxt and Vue utilities do not have explicit imports. This is not a typo; Nuxt will automatically import them for you, and you should get full type hinting if you have followed the instructions to use Nuxt's TypeScript support. ::
Migration#
- If you have been using
@nuxt/componentsin Nuxt 2, you can removecomponents: truein yournuxt.config. If you had a more complex setup, then note that the component options have changed somewhat. See the components documentation for more information.
::tip
You can look at .nuxt/types/components.d.ts and .nuxt/types/imports.d.ts to see how Nuxt has resolved your components and composable auto-imports.
::