webpack dev server配置反向代理的時候總是報錯404,請問怎么解決?錯誤日志:GET http://localhost:8080/mzabris... 404 (Not Found)配置文件:devServer: { inline: true, noInfo: true, port: 8080, proxy: { '/mzabriskie': { target: 'https://github.com', changeOrigin: true } } },接口代碼: this.$http.get('/mzabriskie/axios').then((response) => { console.log(response) }).catch((error) => { console.log(error) })
webpack dev server 報錯404,請問怎么解決
紫衣仙女
2018-11-14 13:14:55