react-static-plugin-styled-components
v7.6.2
Published
A React-Static plugin that adds CSS-in-JS/SSR support for styled-components
Downloads
217
Readme
react-static-plugin-styled-components
A React-Static plugin that adds CSS-in-JS/SSR support for styled-components
Prerequisites
- styled-components 4+ (This has been tested with
4.3.2
)
Installation
In an existing react-static site run:
$ yarn add react-static-plugin-styled-components styled-components
Then add the plugin to your static.config.js
:
export default {
plugins: ["react-static-plugin-styled-components"]
};