All apps/Vue CLI

Vue CLI

vue

Standard Tooling for Vue.js Development.

Runs as vue|macOS, Linux, Windows|cli.vuejs.org

Command form

ai-draft · 3 tasks · 13 fields

Create a project or serve a single component with the legacy Vue CLI. Plugin, inspect and upgrade commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui vue

vue create

Create a project

Scaffold a new Vue project.

Create a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Project name*
string
Use default preset
--default
TasksEach one presets the form for one job
Create with defaults
app_namedefault
Create from preset
app_namepresetpackage_manager
ParametersOnly these flags are editable in the form
Project name
Directory to create the project in.
string · positional 0
Preset
Saved or remote preset name.
string
--preset-p
Use default preset
boolean
--default-d
Package manager
npm client used to install dependencies, e.g. npm, yarn or pnpm.
string
--packageManager-m
npm registry
url
--registry-r
Skip git initialization
boolean
--no-git-n
Force git init with message
string
--git-g
Overwrite target directory
boolean
--force-f
Merge into existing directory
boolean
--merge

vue serve

Serve a file

Zero-config dev server for one file.

Serve a fileExample values, fixed in this page — nothing here reaches a terminal
Basic
Entry file*
file
Open browser
--open
Port
integer
TasksEach one presets the form for one job
Serve a component
entryopenport
ParametersOnly these flags are editable in the form
Entry file
.js or .vue file to serve.
path · positional 0
Open browser
boolean
--open-o
Copy URL to clipboard
boolean
--copy-c
Port
integer
--port-p
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed vue against its version. A form that does not match your version is not offered.