We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d44b58 commit d9ea4ceCopy full SHA for d9ea4ce
README.md
@@ -10,6 +10,16 @@ Install it:
10
$ npm install next --save
11
```
12
13
+and add a script to your package.json like this:
14
+
15
+```json
16
+{
17
+ "scripts": {
18
+ "start": "next"
19
+ }
20
+}
21
+```
22
23
After that, the file-system is the main API. Every `.js` file becomes a route that gets automatically processed and rendered.
24
25
Populate `./pages/index.js` inside your project:
@@ -21,7 +31,7 @@ export default () => (
31
)
32
33
-and then just run `next` and go to `http://localhost:3000`
34
+and then just run `npm start` and go to `http://localhost:3000`
35
26
36
So far, we get:
27
37
0 commit comments