Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/content/3.api/5.commands/prepare.md
Original file line number Diff line number Diff line change
@@ -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.