Commit 2a1cda28 authored by Guillermo Rauch's avatar Guillermo Rauch Committed by GitHub

Update README.md

parent 905d6717
...@@ -307,6 +307,13 @@ app.prepare().then(() => { ...@@ -307,6 +307,13 @@ app.prepare().then(() => {
}) })
``` ```
The `next` API is as follows:
- `next(path: string, opts: objecvt)` - `path` is where the Next project is located
- `next(opts: object)`
Supported options:
- `dev` (`bool`) whether to launch Next.js in dev mode
### Custom `<Document>` ### Custom `<Document>`
Pages in `Next.js` skip the definition of the surrounding document's markup. For example, you never include `<html>`, `<body>`, etc. But we still make it possible to override that: Pages in `Next.js` skip the definition of the surrounding document's markup. For example, you never include `<html>`, `<body>`, etc. But we still make it possible to override that:
......
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