Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.42 KB

File metadata and controls

38 lines (23 loc) · 1.42 KB

Pigment CSS - Next.js App Router with TypeScript example project

This is a Next.js project bootstrapped using create-next-app, with TypeScript and Pigment CSS, a zero-runtime CSS-in-JS library, installed.

How to use

Download the example or clone the repo:

curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2  material-ui-master/examples/pigment-css-nextjs-ts
cd pigment-css-nextjs-ts

Install it and run:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

or:

Edit on StackBlitz

Edit on CodeSandbox

Learn more

To learn more about this example: