This commit is contained in:
zhangyc
2022-12-14 08:47:37 +08:00
parent aef73624d6
commit 428a968f12

View File

@@ -6,27 +6,22 @@
* @FilePath: /fe-manage/vue.config.js * @FilePath: /fe-manage/vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/ */
const {defineConfig} = require("@vue/cli-service"); const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: "/manage", publicPath: "/manage",
// transpileDependencies: true, // transpileDependencies: true,
// devServer: { devServer: {
// port: 8080, port: 8080,
// proxy: { proxy: {
// "/manageApi": { "/manageApi": {
// target: "http://localhost:30001/", target:"http://111.231.196.214:30001/",
// changeOrigin: true, //表示是否改变原域名 changeOrigin: true, //表示是否改变原域名
// // secure: false, // secure: false,
// // ws: false, //表示WebSocket协议 // ws: false, //表示WebSocket协议
// pathRewrite: { pathRewrite: {
// "^/manageApi": "", "^/manageApi": "",
// }, },
// }, },
// "/userbasic": { },
// target: "https://u-pre.boe.com", },
// changeOrigin: true,
// },
// },
// },
}); });