
vue
古灬风
学海无涯苦作舟
展开
-
vue.js源码
/*!* Vue.js v2.5.21* (c) 2014-2018 Evan You* Released under the MIT License.*/(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exp...转载 2019-03-13 16:24:56 · 2711 阅读 · 0 评论 -
解决Vue跨域处理的一种方法
以开发环境(dev)为例:向index.js中的dev中,设置跨域代理,给proxyTable属性赋值,例 '/apis': { target: 'http://localhost:8004/',// changeOrigin: true, pathRewrite: { '^/apis': '/' //后面有没有apis,...原创 2019-03-22 18:15:55 · 337 阅读 · 0 评论