feat: initialize independent Sense product skeleton (#21)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user