Installing a Component
Install any Bolt Component via npm
as it's docs suggest. If you were going to install the Card, you'd run:
npm install --save @bolt/components-card
Then add it to .boltrc.js
:
module.exports = {
buildDir: 'www/build',
components: {
global: [
+ '@bolt/components-card',
],
individual: [
],
},
};
Continue to do so with as many components as you'd like.