# vue-cli start

TIP

IT'S @vue/cli, Not vue-cli
IT just a Interactive project scaffolding via @vue/cli
Built on top of webpack, with sensible defaults

# Installation

  • With cmd terminal
npm install -g @vue/cli # hello, not vue-cli
# or
yarn global add @vue/cli
---------------------
>vue --version
@vue/cli 5.0.1
---------------------
npm update -g @vue/cli
# or
yarn global upgrade --latest @vue/cli
  • Demo
PS D:\yiki> vue create yiki-vue-cli
?  Your connection to the default yarn registry seems to be slow.
   Use https://registry.npmmirror.com for faster installation? Yes

Vue CLI v5.0.1
? Please pick a preset: Default ([Vue 3] babel, eslint)
? Pick the package manager to use when installing dependencies: Yarn

Vue CLI v5.0.1
✨  Creating project in D:\yiki\yiki-vue-cli.
🗃  Initializing git repository...
⚙️  Installing CLI plugins. This might take a while...

yarn install v1.22.17
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...

success Saved lockfile.
Done in 24.62s.
🚀  Invoking generators...
📦  Installing additional dependencies...

yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...

success Saved lockfile.
Done in 7.47s.
⚓  Running completion hooks...

📄  Generating README.md...

🎉  Successfully created project yiki-vue-cli.
👉  Get started with the following commands:

 $ cd yiki-vue-cli
 $ yarn serve

PS D:\yiki>
Last Updated: 2022/3/30 下午1:47:43