Vue project environment to build

Vue project environment to build

'' ' 
1) mounted node 
official website to download the installation package, installation fool: HTTPS: //nodejs.org/zh-cn/ 2) change source mounting CNPM 
>: -g CNPM --registry the install NPM = HTTPS: // Registry .npm.taobao.org 3) mounted scaffolding vue item 
>: cnpm install -g @ vue / cli 
Note: 2 or the terminal 3 when the installation fails, can empty the buffer npm step was repeated failed 
npm --force Clean cache 






'' '

 

 Vue project creation

'' ' 
1) into the directory where the project 
>: cd *** 

2) Creating a project 
>: vue create project name 

3) the initial project 
' ''

 

 

 Pycharm configure and start the project vue

'' ' 
1) Open vue project created with PyCharm 
2) add configuration npm start 
' ''

 

 

 

 

Guess you like

Origin www.cnblogs.com/waller/p/11649289.html