Back to Next Js

Next.js + vanilla-extract Example

examples/with-vanilla-extract/README.md

16.2.51.1 KB
Original Source

Next.js + vanilla-extract Example

This example demonstrates usage of Vanilla Extract with the app directory.

Deploy your own

How to use

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

bash
npx create-next-app --example with-vanilla-extract with-vanilla-extract-app
bash
yarn create next-app --example with-vanilla-extract with-vanilla-extract-app
bash
pnpm create next-app --example with-vanilla-extract with-vanilla-extract-app

Deploy it to the cloud with Vercel (Documentation).