This package contains assets such as images, fonts, scss as well as minified CSS and JS files to incorporate into your own project.
-
To refer to the assets directly within your project, you can link them to your project as such:
- CSS:
node_modules/@bcgov/bootstrap-v5-theme/css/bootstrap-theme.min.css
- JS:
node_modules/@bcgov/bootstrap-v5-theme/css/bootstrap-theme.min.js
- CSS:
- To import the assets and use them in your project, you can import them through your index.js through
const bootstrapTheme = require('@bcgov/bootstrap-v5-theme');`
For more details, please visit the project Github page