mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Update README.md
This commit is contained in:
parent
905d671719
commit
2a1cda283b
|
@ -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>`
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue