mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: add missing options for nuxi init
(#27051)
This commit is contained in:
parent
b385065bda
commit
1c56008cfa
@ -18,11 +18,17 @@ The `init` command initializes a fresh Nuxt project using [unjs/giget](https://g
|
|||||||
|
|
||||||
Option | Default | Description
|
Option | Default | Description
|
||||||
-------------------------|-----------------|------------------
|
-------------------------|-----------------|------------------
|
||||||
|
`--cwd` | | Current working directory
|
||||||
|
`--log-level` | | Log level
|
||||||
`--template, -t` | `v3` | Specify template name or git repository to use as a template. Format is `gh:org/name` to use a custom github template.
|
`--template, -t` | `v3` | Specify template name or git repository to use as a template. Format is `gh:org/name` to use a custom github template.
|
||||||
`--force` | `false` | Force clone to any existing directory.
|
`--force, -f` | `false` | Force clone to any existing directory.
|
||||||
`--offline` | `false` | Do not attempt to download from github and only use local cache.
|
`--offline` | `false` | Force offline mode (do not attempt to download template from GitHub and only use local cache).
|
||||||
`--prefer-offline` | `false` | Try local cache first to download templates.
|
`--prefer-offline` | `false` | Prefer offline mode (try local cache first to download templates).
|
||||||
`--shell` | `false` | Open shell in cloned directory (experimental).
|
`--no-install` | `false` | Skip installing dependencies.
|
||||||
|
`--git-init` | `false` | Initialize git repository.
|
||||||
|
`--shell` | `false` | Start shell after installation in project directory (experimental).
|
||||||
|
`--package-manager` | `npm` | Package manager choice (npm, pnpm, yarn, bun).
|
||||||
|
`--dir` | | Project directory.
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user