mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
7aa5d16231
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
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
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-sass with-sass-app
yarn create next-app --example with-sass with-sass-app
pnpm create next-app --example with-sass with-sass-app
Run production build with:
npm run build
npm run start
# or
yarn build
yarn start
# or
pnpm build
pnpm start
Deploy it to the cloud with Vercel (Documentation).