rsnext/examples/with-emotion-vanilla/README.md

1.4 KiB

Emotion Vanilla Example

Extract and inline critical css with emotion, @emotion/server, @emotion/css

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

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

Deploy it to the cloud with Vercel (Documentation).