I have pulled in bulma in my project through :
$ npm install bulma
After that, how can I refer to it in my pages. I really don\'t know how to
@import "../node_modules/bulma/css/bulma.css";
If you have a main.css
file for your project or something similar to that, you can add the above line inside your main.css
file. This will import the default bulma.css
file located inside your project's path node_modules/bulma/css/
after you have installed bulma via npm.
NOTE: you must include your main.css
file( or something similar) inside your index.html
as a static import if you chose to go this way.
For that you need to have something like:
I prefer this since bulma is a CSS framework, I think it's best to keep the stylesheets linked with each other.