docs: list --assetsBase in the cli reference

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/5406/head
Divyansh Singh 2 weeks ago
parent 6915961ae6
commit cfa9b902a0

@ -45,6 +45,7 @@ vitepress build [root]
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| `--mpa` (experimental) | Build in [MPA mode](../guide/mpa-mode) without client-side hydration (`boolean`) |
| `--base <path>` | Public base path (default: `/`) (`string`) |
| `--assetsBase <url>` | URL prefix the generated assets are served from, e.g. a CDN (`string`) |
| `--target <target>` | Transpile target (default: `"modules"`) (`string`) |
| `--outDir <dir>` | Output directory relative to **cwd** (default: `<root>/.vitepress/dist`) (`string`) |
| `--assetsInlineLimit <number>` | Static asset base64 inline threshold in bytes (default: `4096`) (`number`) |
@ -64,6 +65,7 @@ vitepress preview [root]
| Option | Description |
| --------------- | ------------------------------------------ |
| `--base <path>` | Public base path (default: `/`) (`string`) |
| `--assetsBase <url>` | URL prefix the generated assets are served from, e.g. a CDN (`string`) |
| `--port <port>` | Specify port (`number`) |
## `vitepress init`

Loading…
Cancel
Save