sidebarDepth |
---|
3 |
Currently, there are four cli commands in VuePress: build, dev, eject and info.
If they are not enough for you, you can also create your own commands.
vuepress <command> [options]
Commands:
dev [targetDir] start development server
build [targetDir] build dir as static site
eject [targetDir] copy the default theme into .vuepress/theme for customization.
info Shows debugging information about the local environment
You can always add --help
flag for more information.
Build dir as a static site.
See port.
See temp.
See cache.
See dest.
Start development server in debug mode.
Start development server in silent mode.
Set the max concurrency for rendering pages, to prevent OOM when rendering massive docs.
Start a development server. All options from vuepress build
are available. And there are several options specifically for dev:
See host.
Open browser when ready.
Do not clear screen when dev server is ready. Note that dev server will not clear screen if you start it in debug mode.
Copy the default theme into .vuepress/theme
for customization.
Shows debugging information about the local environment.
You can create a custom command with extendCli.