![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VUE
OHISAY
java
展开
-
Node.js Create Vue
1 安装node.js https://www.cnblogs.com/wanglu/p/7062081.html2 cmd: node -v查看版本,如果没有安装环境变量。3 cmd:使用cnpm 代替 node.js里的npm npm install cnpm -g --registry=https://registry.npm.taobao.org4 cmd:安装vue脚手...原创 2018-05-27 10:30:22 · 402 阅读 · 0 评论 -
Vue WebStorm Use Element_ui And axios
1 cmd进入项目, 安装饿了么; main.js 里面添加引用; 摘抄官网例子。npm i element-ui -Simport ElementUI from 'element-ui'import 'element-ui/lib/theme-chalk/index.css'Vue.use(ElementUI)element_ui官网2 安装axios 请求 ; main.js 里面添加引用...原创 2018-05-27 11:17:49 · 1155 阅读 · 0 评论 -
WS Element-ui Read Json List
1 HelloWrold.vue , create()开始,自动读取axios的内容, 循环读取到ul里面。 <template> <div class="hello"> <ul class="box"> <li v-for="n in list"> <el-popover原创 2018-06-04 09:33:33 · 243 阅读 · 0 评论 -
vue exchange port and cross-domain
1 exchange port : index.js // Various Dev Server settings host: 'localhost', // can be overwritten by process.env.HOST port: 7777, // can be overwritten by process.env.PORT, if port is in u...原创 2018-06-17 11:18:25 · 503 阅读 · 0 评论