This documentation is for @vue/cli version 3.x.
For the old vue-cli, see here. Vue CLI is a full system for rapid Vue.js development, providing:. Interactive project scaffolding via @vue/cli. Zero config rapid prototyping via @vue/cli + @vue/cli-service-global. A runtime dependency (@vue/cli-service) that is:Upgradeable;Built on top of webpack, with sensible defaults;Configurable via in-project config file;Extensible via plugins.
Built on top of webpack, with sensible defaults;.
Configurable via in-project config file;. Extensible via plugins. A rich collection of official plugins integrating the best tools in the frontend ecosystem.
A full graphical user interface to create and manage Vue.js projects. Vue CLI aims to be the standard tooling baseline for the Vue ecosystem. It ensures the various build tools work smoothly together with sensible defaults so you can focus on writing your app instead of spending days wrangling with configurations.
At the same time, it still offers the flexibility to tweak the config of each tool without the need for ejecting. There are several moving parts of Vue CLI - if you look at the source code, you will find that it is a monorepo containing a number of separately published packages.
The CLI (@vue/cli) is a globally installed npm package and provides the vue command in your terminal.
Project configurations #
It provides the ability to quickly scaffold a new project via vue create, or instantly prototype new ideas via vue serve.
Config files #
You can also manage your projects using a graphical user interface via vue ui. We will walk through what it can do in the next few sections of the guide. The CLI Service (@vue/cli-service) is a development dependency. It's an npm package installed locally into every project created by @vue/cli.