rsnext/examples/with-react-jss
2024-05-08 21:47:14 +02:00
..
pages chore: update prettier to 3.2.5 (#65092) 2024-05-08 21:47:14 +02:00
.gitignore Add .yarn/install-state.gz to .gitignore (#56637) 2023-10-18 16:34:48 +00:00
next-env.d.ts Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json update @types/react version in examples (#57259) 2023-10-26 19:52:08 -05:00
README.md update example Deploy button URLs (#48842) 2023-04-26 13:31:44 -04:00
tsconfig.json [Docs] Migrate with-react-jss to typescript (#40308) 2022-09-07 16:39:35 -07:00

react-jss example

This example shows how to integrate react-jss and jss in Next.js

The critical styles will be injected into the head when server rendered.

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

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

npx create-next-app --example with-react-jss with-react-jss-app
yarn create next-app --example with-react-jss with-react-jss-app
pnpm create next-app --example with-react-jss with-react-jss-app

Deploy it to the cloud with Vercel (Documentation).