添加其他数据/完善其他功能
This commit is contained in:
@@ -8,12 +8,12 @@ module.exports = {
|
||||
// 关闭语法检查
|
||||
lintOnSave:false,
|
||||
devServer: {
|
||||
host: 'localhost', // 本地域名/ip地址
|
||||
port: '8080', // 端口号
|
||||
// host: 'localhost', // 本地域名/ip地址
|
||||
// port: '8080', // 端口号
|
||||
proxy: {
|
||||
'/api': {
|
||||
//后端接口的baseurl
|
||||
target: 'http://localhost/helloGithub_war_exploded/',
|
||||
target: 'https://api.github.com/repos',
|
||||
//是否允许跨域
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
|
Reference in New Issue
Block a user