vue-cli 4, @ vue / cli, yarn Common Commands

Create a project:

vue create my-project

Run the development version:

cd my-project
yarn serve

Compile the production version:

yarn build

What is the Vue CLI service?

The Vue CLI Service is a run-time dependency (@vue/cli-service) that abstracts webpack and provides default configurations. It can be upgraded, configured and extended with plugins.

As already seen, yarn serve, yarn build, these are the Vue CLI service.

He published 188 original articles · won praise 88 · views 580 000 +

Guess you like

Origin blog.csdn.net/henryhu712/article/details/104082608