react-static-plugin-jss
v7.6.2
Published
A React-Static plugin that adds CSS-in-JS/SSR support for jss
Downloads
24
Readme
react-static-plugin-jss
A React-Static plugin that adds CSS-in-JS/SSR support for jss
Installation
- Install this plugin and peer dependencies:
$ yarn add react-static-plugin-jss react-jss
- Add the plugin to your
static.config.js
:
export default {
plugins: ['react-static-plugin-jss'],
}
- Configure it with options:
export default {
plugins: [
[
'react-static-plugin-jss',
{
providerProps: {
// These props will be passed to the underlying `JssProvider` component instance
}
}
]
],
}