Answers for "how to use bulma in gatsby"

CSS
2

how to use bulma in gatsby

yarn add bulma sass gatsby-plugin-sass

Then, add the gatsby-plugin-sass in to gatsby-config.js.
			plugins: [`gatsby-plugin-sass`],

create a custom scss file with the following configs
			@charset "utf-8";
			@import "~bulma/bulma.sass";
            
Now lastly import your custom scss file into your index.js file or whichever file you want
Posted by: Guest on August-31-2021

Browse Popular Code Answers by Language