Vue | Use VueCli to quickly build projects

Table of contents

Overview

Vue projectization

 Vue CLi consists of three main tools, namely:


Overview

Vue projectization

This chapter will introduce how to use Vue Cli to quickly build a Vue.js project. This project is essentially a set of file structures, which contains basic dependency libraries. It only needs npm install to install.

Vue Cli is a complete system for rapid development based on Vue.js. It is a set of tools for rapid prototyping, simplified application construction and efficient project management. Developers can focus on writing applications instead of spending a lot of time. Handle configuration issues.

 Vue CLi consists of three main tools, namely:

1、CLI

        The CLI is an npm package that provides core functionality via Vue.js commands. It can easily build a new project. At the same time, if you want to build (create) the project through the visual interface, you can run the vue ui command line to open the visual interface.

2、CLI Service

        CLI Service is a development dependency that is installed in the scaffolding project and can help develop the project, package the project, and check some related configurations of the project.

3. CLI plug-in

         The CLI plug-in is also an npm package and can provide some additional functions for the project. During the development process, you can add CLI plug-ins, such as routing plug-ins (vue-router), vuex plug-ins, etc., through the command line vue add.

Guess you like

Origin blog.csdn.net/qq_63559792/article/details/131215758