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 the example using Vercel or preview live with StackBlitz
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-compiled-css with-compiled-css-app
# or
yarn create next-app --example with-compiled-css with-compiled-css-app
# or
pnpm create next-app -- --example with-compiled-css with-compiled-css-app
Deploy it to the cloud with Vercel (Documentation).