mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 16:56:46 +08:00
Merge branch 'develop' into 'newdev'
# Conflicts: # vue.config.js
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"name": "fe_manage",
|
"name": "fe_manage",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"homepage": "http://u-pre.boe.com/manage/",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
|
|||||||
@@ -9,24 +9,22 @@
|
|||||||
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://192.168.19.246:30001",
|
||||||
// changeOrigin: true, //表示是否改变原域名
|
// target:"http://192.168.100.208:30001",
|
||||||
// // secure: false,
|
target: "https://u-pre.boe.com/manageApi/", //这里后台的地址模拟的;应该填写你们真实的后台接口
|
||||||
// // ws: false, //表示WebSocket协议
|
changeOrigin: true, //表示是否改变原域名
|
||||||
// pathRewrite: {
|
// secure: false,
|
||||||
// "^/manageApi": "",
|
// ws: false, //表示WebSocket协议
|
||||||
// },
|
pathRewrite: {
|
||||||
// },
|
"^/manageApi": "",
|
||||||
// "/userbasic": {
|
},
|
||||||
// target: "https://u-pre.boe.com",
|
},
|
||||||
// changeOrigin: true,
|
},
|
||||||
// },
|
},
|
||||||
// },
|
|
||||||
// },
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user