Nuxt Nation conference is coming. Join us on November 12-13.

Auto Imports

This example demonstrates the auto-imports feature in Nuxt.

Example of the auto-imports feature in Nuxt with:

  • Vue components in the components/ directory are auto-imported and can be used directly in your templates.
  • Vue composables in the composables/ directory are auto-imported and can be used directly in your templates and JS/TS files.
  • JS/TS variables and functions in the utils/ directory are auto-imported and can be used directly in your templates and JS/TS files.
Read more in Docs > Guide > Directory Structure > Components.
Read more in Docs > Guide > Directory Structure > Composables.
Read more in Docs > Guide > Directory Structure > Utils.
Loading Sandbox...