The components Property

Nuxt.js 2.13+ can scan and auto import your components.

  • Type: Boolean or Object
  • Default: false

When set to true or using an object, it will include the nuxt/components dependencies and auto import your components (defined in ~/components) when you use them in your templates.

Please refer to nuxt/components repository for usage and options.

Contributors

Обнаружили ошибку или хотите внести свой вклад в документацию? Отредактировать эту страницу на GitHub!