1 Star 0 Fork 6

Rq/project-xczx2-portal-vue-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
吴新悦 提交于 2023-02-27 21:14 . 项目前端代码提交
module.exports = {
publicPath: '/',
lintOnSave: process.env.NODE_ENV === 'development',
devServer: {
port: process.env.VUE_APP_CLIENT_MANAGE_PORT,
open: false,
disableHostCheck: true,
// overlay: {
// warnings: false,
// errors: true,
// },
proxy: {
'/api': {
target: process.env.VUE_APP_SERVER_API_URL,
changeOrigin: true, // needed for virtual hosted sites
ws: true, // proxy websockets
pathRewrite: {
'^/api': ''
}
}
}
}
// pwa: {
// name: name
// },
// pluginOptions: {
// 'style-resources-loader': {
// preProcessor: 'scss',
// patterns: [
// path.resolve(__dirname, 'src/styles/_variables.scss'),
// path.resolve(__dirname, 'src/styles/_mixins.scss')
// ]
// }
// },
// chainWebpack(config) {
// // Provide the app's title in webpack's name field, so that
// // it can be accessed in index.html to inject the correct title.
// config.set('name', name);
// },
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zfovikqdev928/project-xczx2-portal-vue-ts.git
git@gitee.com:zfovikqdev928/project-xczx2-portal-vue-ts.git
zfovikqdev928
project-xczx2-portal-vue-ts
project-xczx2-portal-vue-ts
master

搜索帮助