mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-21 03:15:46 +08:00
36 lines
621 B
JavaScript
Executable File
36 lines
621 B
JavaScript
Executable File
/*
|
|
* @Author: Copyright(c) 2020 Suwings
|
|
* @Date: 2021-05-08 21:46:34
|
|
* @LastEditTime: 2021-08-30 10:43:11
|
|
* @Description:
|
|
*/
|
|
// vue.config.js
|
|
|
|
/**
|
|
* @type {import('@vue/cli-service').ProjectOptions}
|
|
*/
|
|
module.exports = {
|
|
// options...
|
|
publicPath: "./",
|
|
pages: {
|
|
index: {
|
|
entry: "src/app/index.js",
|
|
template: "public/index.html",
|
|
filename: "index.html",
|
|
title: "MCSManager"
|
|
}
|
|
},
|
|
devServer: {
|
|
port: 8080,
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://127.0.0.1:23333/"
|
|
}
|
|
}
|
|
},
|
|
productionSourceMap: false,
|
|
configureWebpack: {
|
|
plugins: []
|
|
}
|
|
};
|