mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs(api): add experimental --prerender
flag to nuxi build
command (#5112)
Co-authored-by: pooya parsa <pyapar@gmail.com>
This commit is contained in:
parent
32cb06b629
commit
aace553f1a
@ -9,5 +9,6 @@ The `build` command creates a `.output` directory with all your application, ser
|
|||||||
Option | Default | Description
|
Option | Default | Description
|
||||||
-------------------------|-----------------|------------------
|
-------------------------|-----------------|------------------
|
||||||
`rootDir` | `.` | The root directory of the application to bundle.
|
`rootDir` | `.` | The root directory of the application to bundle.
|
||||||
|
`prerender` | `false` | Pre-render every route of your application. (**note:** This is an experimental flag. The behavior might be changed.)
|
||||||
|
|
||||||
This command sets `process.env.NODE_ENV` to `production`. To override, define `NODE_ENV` in a `.env` file or as command-line argument.
|
This command sets `process.env.NODE_ENV` to `production`. To override, define `NODE_ENV` in a `.env` file or as command-line argument.
|
||||||
|
Loading…
Reference in New Issue
Block a user