mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-27 08:39:51 +08:00
35 lines
601 B
JavaScript
Executable File
35 lines
601 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...
|
|
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: []
|
|
}
|
|
};
|