gatsby-plugin-compiled
v0.0.3
Published
Gatsby plugin to add support for Compiled CSS-in-JS
Downloads
2
Maintainers
Readme
gatsby-plugin-compiled
Provide support for using the css-in-js library Compiled.
Install
npm
npm install gatsby-plugin-compiled @compiled/css-in-js
yarn
yarn add gatsby-plugin-compiled @compiled/css-in-js
How to use
Add the plugin to your gatsby-config.js
.
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-compiled`,
options: {
// Accepts all options defined by `@compiled/babel-plugin-css-in-js` plugin.
},
},
],
};