mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
docs(api): add nuxi prepare
command (#7349)
This commit is contained in:
parent
a418895595
commit
4660cc5918
11
docs/content/3.api/5.commands/prepare.md
Normal file
11
docs/content/3.api/5.commands/prepare.md
Normal file
@ -0,0 +1,11 @@
|
||||
# `nuxi prepare`
|
||||
|
||||
```{bash}
|
||||
npx nuxi prepare [rootDir]
|
||||
```
|
||||
|
||||
The `prepare` command creates a `.nuxt` directory in your application and generates types. This can be useful in a CI environment or as a `postinstall` command in your `package.json`.
|
||||
|
||||
Option | Default | Description
|
||||
-------------------------|-----------------|------------------
|
||||
`rootDir` | `.` | The root directory of the application to prepare.
|
Loading…
Reference in New Issue
Block a user