Skip to content

Commit 233152e

Browse files
borekbTimer
authored andcommitted
Add package.json to with-zones example, make create-next-app work (vercel#8453)
* Add package.json to with-zones example So that create-next-app works. * Update README – no need to run `yarn` / `npm i` This example doesn't have any dependencies in its package.json, everything is handled by running `now dev`.
1 parent f0b6d0a commit 233152e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

examples/with-zones/README.md

-8
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2
2121
cd with-zones
2222
```
2323

24-
Install it and run:
25-
26-
```bash
27-
npm install
28-
# or
29-
yarn
30-
```
31-
3224
## The idea behind this example
3325

3426
With Next.js you can use multiple apps as a single app using it's multi-zones feature.

examples/with-zones/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "with-zones-example",
3+
"private": true
4+
}

0 commit comments

Comments
 (0)