$ npm install @creativebulma/bulma-collapsible
Open you application's main sass file and add the following lines:
// Import Bulma first
@import 'bulma';
// Import Component main Sass File
@import '~@creativebulma/bulma-collapsible';
.sass
file, you don't have to specify the full path of the sass file (The main Sass file to use is defined in package.json within property sass
).import bulmaCollapsible from '@creativebulma/bulma-collapsible';
<script src="/node_modules/@creativebulma/bulma-collapsible/dist/js/bulma-collapsible.min.js"></script>