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.

如何提交问题或文档贡献? 在 GitHub 编辑此页面!

Platinum Sponsors

StoryblokMoovwebShip Shape Support Us