rsnext/examples/with-emotion/README.md
NorbertLuszkiewicz c03d4931de
Simplify example usage instructions (#16678)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-08-29 22:22:02 -04:00

1.2 KiB

Pass Server Data Directly to a Next.js Page during SSR

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

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

Deploy it to the cloud with Vercel (Documentation).