This is a Next.js project bootstrapped using create-next-app
, with TypeScript and Pigment CSS, a zero-runtime CSS-in-JS library, installed.
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:
To learn more about this example:
- Pigment CSS documentation - learn more about Pigment CSS features and APIs.
- Next.js documentation - learn about Next.js features and APIs.