• 当前标签:Vue跨域

程序开发 vue-cli搭建项目时api跨域问题

Vue的跨域问题可以使用代理的方式解决,在项目config文件夹中的index.js中配置proxyTable选项。 config > index.js dev: {     env: require('./dev.env'),     port: 8080,     autoOpenBrowser: true,

2017-09-27 16:54:15 950 0 0
阅读详情
  • 1
前往