Back to Emotion

@emotion/server

packages/server/README.md

10.0.6399 B
Original Source

@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.

bash
npm install --save @emotion/css @emotion/server