SpringBoot+Vue(3)

How to create a project vue on Idea:

Open Idea, New Project, select Static Web, and then select the Static Web and create. After creating the web project, you need to install vue scaffolding tool.

Npm install Taobao mirror open Idea of ​​Terminal, input npm i -g cnpm --registry = https: //registry.npm.taobao.org 

After waiting for the download is complete, continue to enter npm i -g vue-cli vue scaffolding to complete the installation, and can be used to test the scaffold vue -V successfully installed.

After the successful installation of scaffolding, input vue init webpack iviewstudy (iviewstudy package name)  

After creating the package, enter cd iviewstudy to go to the next package just created a path,

Import input npm install the required jar package vue

Enter npm run dev to run the project in general is the default port 8080, is entered in the browser http: // localhost: 8080 / can access the page up.

Guess you like

Origin www.cnblogs.com/BigXu/p/11248647.html