how to use bulma in gatsby

88

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            

Comments

Submit
0 Comments