UNPKG

@emotion/server

Version:

Extract and inline critical css with emotion for server side rendering.

12 lines (7 loc) 400 B
# @emotion/server > Extract and inline critical css with emotion. `@emotion/server` provides three APIs for doing server-side rendering with emotion to extract critical css, inline critical css in html to a string and inline critical css in html to a stream. [`@emotion/server`'s APIs are documented here.](https://emotion.sh/docs/ssr) ```bash npm install --save @emotion/css @emotion/server ```