rsnext/examples/with-emotion-vanilla
2022-05-27 21:21:40 +00:00
..
pages Avoid page double render with emotion vanilla (#30541) 2022-01-05 17:48:12 +00:00
shared feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01:00
.babelrc feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01:00
.gitignore feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01:00
package.json Clean up examples package.json (#27121) 2021-07-12 19:58:03 +00:00
README.md Update pnpm create next-app for latest pnpm 6 and 7 (#37254) 2022-05-27 21:21:40 +00:00

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