创建vue cli项目

1. install nodejs(javascript run env)
   install: https://nodejs.org/zh-cn/download/
   set path to system env variable
   test: node -v
2. install npm(nodejs package manager)
   install: ignore (contains in new version nodejs)
   test: npm -v
3. install webpack(open source front-end packaging tool)
   execute: npm install webpack -g
   test: webpack -v
   install path(default): C:\Users\<username>\AppData\Roaming\npm
4. install vue-cli
   execute: npm install --global vue-cli
   test: vue -V
   install path(default): C:\Users\<username>\AppData\Roaming\npm
5. create vue cli project in webstorm
   File -> New -> Project -> Vue.js
   Select Node interpreter and vue-cli location
   Next -> Next -> Next ...
6. run vue cli project by npm
   execute: npm run dev
7. install package
   execute: npm install <typescript>
7. packaging
   npm run build

 

©️2020 CSDN 皮肤主题: 终极编程指南 设计师: CSDN官方博客 返回首页
实付0元
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值