rsnext/examples/with-emotion-vanilla
MMT-LD 60b0267400
feature/vanilla-emotion - add an example of vanilla emotion (#20228)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2021-01-22 12:16:50 +01:00
..
pages feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01: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 feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01:00
README.md feature/vanilla-emotion - add an example of vanilla emotion (#20228) 2021-01-22 12:16:50 +01:00

Emotion Vanilla Example

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

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-vanilla with-emotion-vanilla-app
# or
yarn create next-app --example with-emotion-vanilla with-emotion-vanilla-app

Deploy it to the cloud with Vercel (Documentation).