Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.62 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.62 KB

Emotion Example

Extract and inline critical css with @emotion/css, @emotion/server, @emotion/react, and @emotion/styled.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-emotion-swc with-emotion-swc-app
# or
yarn create next-app --example with-emotion-swc with-emotion-swc-app
# or
pnpm create next-app -- --example with-emotion-swc with-emotion-swc-app

Deploy it to the cloud with Vercel (Documentation).