7.6.2 • Published 4 years ago
react-static-plugin-emotion v7.6.2
react-static-plugin-emotion
A React-Static plugin that adds CSS-in-JS/SSR support for emotion & react-emotion
Installation
In an existing react-static site run:
$ yarn add react-static-plugin-emotion
Then add the plugin to your static.config.js
:
export default {
plugins: ["react-static-plugin-emotion"]
};
What does this plugin do under the hood?
- Uses the
tapHtml
API to runemotion-server
'srenderStylesToString
function on the resulting HTML generated by react-static. This critically inlines any needed css for the exported page right into the html string. Sweet!
7.6.2
4 years ago
7.6.1
4 years ago
7.5.0
4 years ago
7.2.2
6 years ago
7.2.0
6 years ago
7.0.10
6 years ago
7.0.8
6 years ago
7.0.0
6 years ago
7.0.0-beta.0
6 years ago
6.3.0
6 years ago
6.1.1
6 years ago
6.1.0
6 years ago
6.0.8
6 years ago
6.0.6
6 years ago
6.0.5
6 years ago
6.0.0
7 years ago
6.0.0-beta.31
7 years ago
6.0.0-beta.28
7 years ago
6.0.0-beta.27
7 years ago
6.0.0-beta.26
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.0
7 years ago