Skip to content

Commit

Permalink
chore: update example dev script (#41904)
Browse files Browse the repository at this point in the history
The README and install step already indicates that this example is using Turbopack, which doesn't fully support Tailwind so why not preconfigure the correct dev script from the start?

_(I've left the following checkboxes clear as I do not believe they apply here.)_



## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
  • Loading branch information
Kosai106 and ijjk committed Oct 27, 2022
1 parent 9e173bf commit 8035770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/with-turbopack/package.json
Expand Up @@ -2,6 +2,7 @@
"private": true,
"scripts": {
"dev": "next dev --turbo",
"dev:tailwind": "concurrently 'next dev --turbo' 'npm run tailwind --watch'",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand Down

0 comments on commit 8035770

Please sign in to comment.