mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
1.3 KiB
1.3 KiB
Emotion Example
Extract and inline critical css with @emotion/css, @emotion/server, @emotion/react, and @emotion/styled.
Deploy your own
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-emotion-swc with-emotion-swc-app
yarn create next-app --example with-emotion-swc with-emotion-swc-app
pnpm create next-app --example with-emotion-swc with-emotion-swc-app
Deploy it to the cloud with Vercel (Documentation).