1 Star 0 Fork 1

HXSecurity/DongTai-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 801 Bytes
一键复制 编辑 原始数据 按行查看 历史
pixel 提交于 2021-10-08 16:06 . Merge branch 'develop' into issue-266
const path = require('path')
const resolve = dir => path.join(__dirname, dir)
module.exports = {
publicPath: '/',
outputDir: './dist',
lintOnSave: true,
chainWebpack: (config) => {
config.resolve.alias.set('@', resolve('src'))
},
devServer: {
// During local test, configure host and add 127.0.0.1 dev.iast.huoxian.cn
host: 'dev-iast.huoxian.cn',
// Module hot swap with webpack enabled
hot: true,
// Only hot replacements are allowed
hotOnly: true,
https:true,
port: 80,
open: true,
proxy: {
[process.env.VUE_APP_BASE_API]: {
target: process.env.VUE_TARGET_HOST,
changeOrigin: true
},
[process.env.VUE_APP_UPLOAD]: {
target: process.env.VUE_TARGET_HOST,
changeOrigin: true
}
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/HXSecurity/DongTai-web.git
[email protected]:HXSecurity/DongTai-web.git
HXSecurity
DongTai-web
DongTai-web
main

搜索帮助