How to correctly use vue ui to create a project

Before using vue ui, make sure that the corresponding node and vue-cli have been installed

Vue ui is only supported by vue 3.x and above, so to use vue ui, you need to update the version of vue first, otherwise there will be no response to inputting vue ui

Check the vue version (vue -V), if it is less than 3.x, update the vue version first:

1. Uninstall the previous low version first

npm uninstall vue-cli -g

2. Reinstall vue-cli

npm i -g @vue/cli

After the installation is complete, check the version. If it is greater than 3.x, the prerequisites have been completed.

Create a project using vue ui

1. Enter vue ui in the folder where the project needs to be created, and open the browser window

 

2. In the vue project manager, click Create project

 3. Fill in the project name, etc.

 4. Select the preset. If you have your own preset, you can choose it. If you don’t, you can choose manual.

 5. Select the desired function

6. Select configuration, then create project

In this way, creating a project with vue ui is complete, and you can also use this tool to manage projects, install dependency configurations, start projects, etc.

Guess you like

Origin blog.csdn.net/qq_30893717/article/details/130291714