https://github.com/katt/nextjs-issue-report
https://github.com/katt/nextjs-issue-report
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/katt/nextjs-issue-report
- Owner: KATT
- Created: 2020-06-17T14:07:28.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2020-06-17T14:24:54.000Z (about 6 years ago)
- Last Synced: 2025-06-03T11:01:12.756Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://nextjs-issue-report.vercel.app
- Size: 91.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://vercel.com):
[](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-next-sass)
## How to use
### Using `create-next-app`
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-next-sass with-next-sass-app
# or
yarn create next-app --example with-next-sass with-next-sass-app
```
### Download manually
Download the example:
```bash
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-next-sass
cd with-next-sass
```
Install it and run:
```bash
npm install
npm run dev
# or
yarn
yarn dev
```
Run production build with:
```bash
npm run build
npm run start
# or
yarn build
yarn start
```
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).