84b1e7e6b4
upgrade @emotion/css from 11.10.0 to 11.11.2. Co-authored-by: Snyk bot <19733683+snyk-bot@users.noreply.github.com> |
||
---|---|---|
.. | ||
pages | ||
shared | ||
.babelrc | ||
.gitignore | ||
package.json | ||
README.md |
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
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
yarn create next-app --example with-emotion-vanilla with-emotion-vanilla-app
pnpm create next-app --example with-emotion-vanilla with-emotion-vanilla-app
Deploy it to the cloud with Vercel (Documentation).