Commit dff20eae authored by Johhan Santana's avatar Johhan Santana Committed by Arunoda Susiripala

add next.config.js for v3 next export example with-dynamic-import (#1976)

* add next.config.js file for static routes

* reverted start npm script to default

* eslint fix

* fix curl command in README

* remove next config
parent 27be0558
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
Download the example [or clone the repo](https://github.com/zeit/next.js): Download the example [or clone the repo](https://github.com/zeit/next.js):
```bash ```bash
curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/shared-modules curl https://codeload.github.com/zeit/next.js/tar.gz/master | tar -xz --strip=2 next.js-master/examples/with-dynamic-import
cd shared-modules cd with-dynamic-import
``` ```
Install it and run: Install it and run:
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
"dependencies": { "dependencies": {
"async-reactor": "^1.1.1", "async-reactor": "^1.1.1",
"next": "*", "next": "^3.0.0-beta3",
"react": "^15.4.2", "react": "^15.4.2",
"react-dom": "^15.4.2" "react-dom": "^15.4.2"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment