1 Star 16 Fork 8

spring_zou/vue-qiankun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 737 Bytes
一键复制 编辑 原始数据 按行查看 历史
zoucw 提交于 2021-11-14 23:46 +08:00 . init
/*
* @Descripttion:
* @version:
* @Author: chunwen (chunwen.zou@caibeitv.com)
* @Date: 2021-04-07 18:04:24
* @LastEditors: Please set LastEditors
* @LastEditTime: 2021-11-09 23:22:15
*/
const path = require('path')
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? '/projectA/' : '/',
configureWebpack: {
resolve: {
extensions: ['.js', '.vue', '.json', '.ts', '.tsx'],
alias: {
'@/': path.resolve(__dirname, 'src/'),
},
},
},
devServer: {
port: 4000,
// historyApiFallback: true,
proxy: {
'/api': {
target: 'http://localhost:8888',
changeOrigin: true,
pathRewrite: {
'^/api': '',
},
},
},
},
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/spring_zou/vue-qiankun.git
git@gitee.com:spring_zou/vue-qiankun.git
spring_zou
vue-qiankun
vue-qiankun
main

搜索帮助