摘要:
1.安装element-ui 运行命令 npm i element-ui -S 2.安装路由 运行命令 npm install vue-router 使用:在index.js中引入 2.http请求 运行命令 npm install vue-resource(相当于$.ajax) 在主页面引用: t 阅读全文
摘要:
1.首先搭建vue开发环境 win+R 然后输入cmd 要确保电脑安装node和npm 测试node和npm是否安装 node -v npm -v 安装vue npm install -g cnpm --registry=http://registry.npm.taobao.org (淘宝镜像安装比 阅读全文