0.0.1 • Published 7 years ago
gatsby-spon-scss-postcss v0.0.1
gatsby-spon-scss-postcss
Based almost entirely on gatsby-plugin-sass
Provides drop-in support for SASS/SCSS stylesheets
Install
npm install --save gatsby-spon-scss-postcss
How to use
- Include the plugin in your
gatsby-config.js
file. - Write your stylesheets in SASS/SCSS and require/import them
// in gatsby-config.js
plugins: [`gatsby-spon-scss-postcss`]
// in gatsby-config.js
plugins: [
{
resolve: `gatsby-spon-scss-postcss`,
options: {
postCssPlugins: [tailwind('./tailwind.config.js'), autoprefixer()],
precision: 8
}
}
]
0.0.1
7 years ago