c3e5caf110
* docs(examples): improve DX while copy command to create new project * chore: apply code review Co-authored-by: Marcos Bérgamo <Marcos.Bergamo@refinitiv.com> Co-authored-by: JJ Kasper <jj@jjsweb.site>
1.4 KiB
1.4 KiB
Example app with next-sass
This example demonstrates how to use Next.js' built-in Global Sass/Scss imports and Component-Level Sass/Scss modules support.
Deploy your own
Deploy the example using Vercel or preview live with StackBlitz
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-next-sass with-next-sass-app
yarn create next-app --example with-next-sass with-next-sass-app
pnpm create next-app --example with-next-sass with-next-sass-app
Run production build with:
npm run build
npm run start
# or
yarn build
yarn start
Deploy it to the cloud with Vercel (Documentation).