前端页面
This commit is contained in:
35
front_code/Web/vue.config.js
Normal file
35
front_code/Web/vue.config.js
Normal file
@@ -0,0 +1,35 @@
|
||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
|
||||
|
||||
module.exports = {
|
||||
devServer: {
|
||||
open: true,
|
||||
port: 6588,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: process.env.VUE_APP_BASE_URL,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/api': ''
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
lintOnSave: false,
|
||||
css: {
|
||||
loaderOptions: {
|
||||
less: {
|
||||
javascriptEnabled: true
|
||||
}
|
||||
}
|
||||
},
|
||||
configureWebpack: {
|
||||
plugins: [
|
||||
new MonacoWebpackPlugin()
|
||||
]
|
||||
},
|
||||
|
||||
productionSourceMap: false,
|
||||
|
||||
//打开telemen设置可以使用拼接页面
|
||||
runtimeCompiler:true
|
||||
}
|
||||
Reference in New Issue
Block a user