25 lines
497 B
JavaScript
25 lines
497 B
JavaScript
const { defineConfig } = require('@vue/cli-service')
|
|
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
publicPath: '/',
|
|
outputDir: 'dist',
|
|
pages: {
|
|
index: {
|
|
entry: 'src/bootstrap/main.js',
|
|
template: 'src/bootstrap/index.html',
|
|
title: 'Sense 视频感知管理'
|
|
}
|
|
},
|
|
devServer: {
|
|
port: 18081,
|
|
proxy: {
|
|
'/api': {
|
|
target: process.env.SENSE_API_PROXY || 'http://127.0.0.1:18080',
|
|
changeOrigin: true
|
|
}
|
|
}
|
|
}
|
|
})
|
|
|