📜  如何在 gatsby 中使用 bulma - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:32.680000             🧑  作者: Mango

代码示例1
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