1 Star 0 Fork 0

冰是睡着的水 / wash-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 848 Bytes
一键复制 编辑 原始数据 按行查看 历史
冰是睡着的水 提交于 2021-04-23 14:21 . 后端管理页面
/*
* @Author: 码上talk|RC
* @Date: 2020-06-09 23:23:29
* @LastEditTime: 2021-01-15 15:36:43
* @LastEditors: 码上talk|RC
* @Description:
* @FilePath: /tacomall-admin/vue.config.js
* @Just do what I think it is right
*/
module.exports = {
devServer: {
proxy: {
'/admin': {
target: 'http://localhost:4001',
ws: false,
changeOrigin: true
},
'/open': {
target: 'http://localhost:4003',
ws: false,
changeOrigin: true
}
}
},
chainWebpack: config => {
config.module
.rule('vue')
.test(/\.vue$/)
.use('iview-loader')
.loader('iview-loader')
.options({
prefix: true
})
}
}
1
https://gitee.com/tuzichicao/wash-web.git
git@gitee.com:tuzichicao/wash-web.git
tuzichicao
wash-web
wash-web
master

搜索帮助