gridsome-plugin-base-components
Auto-import base components. Like
this. Components
should be in src/components
and start with Base
.
If you have files in src/composables
that fit the pattern use-something.{js,ts}
, these will also be required.
Installation
npm i gridsome-plugin-base-components
Add this to gridsome.config.js
:
plugins: use: 'gridsome-plugin-base-components'