vue访问本地后台
在config/index.js里配置proxyTable代理
1 proxyTable: { 2 '/goods': { 3 target: 'http://localhost:3000', 4 } 5 }
- 上一篇 »vue中后台请求数据配置
- 下一篇 »nodejs获取 本地ip地址
在config/index.js里配置proxyTable代理
1 proxyTable: { 2 '/goods': { 3 target: 'http://localhost:3000', 4 } 5 }