Back to Next Js

Example app with Compiled (CSS-in-JS)

examples/with-compiled-css/README.md

16.2.51.2 KB
Original Source

Example app with Compiled (CSS-in-JS)

This example features how to use Compiled as the build time CSS-in-JS styling solution instead of styled-jsx.

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-compiled-css with-compiled-css-app
bash
yarn create next-app --example with-compiled-css with-compiled-css-app
bash
pnpm create next-app --example with-compiled-css with-compiled-css-app

Deploy it to the cloud with Vercel (Documentation).