2022-09-23 09:43:24 +08:00
|
|
|
const { defineConfig } = require('@vue/cli-service')
|
|
|
|
module.exports = defineConfig({
|
2022-11-14 16:31:47 +08:00
|
|
|
configureWebpack: {
|
|
|
|
plugins: [
|
|
|
|
require('unplugin-element-plus/webpack')({
|
|
|
|
// options
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
proxy: {
|
|
|
|
'/dev-api': {
|
|
|
|
target: 'http://localhost:8000',
|
|
|
|
changeOrigin: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-10-20 13:43:55 +08:00
|
|
|
transpileDependencies: true,
|
|
|
|
lintOnSave: false,
|
|
|
|
// publicPath: './',
|
2022-11-14 16:31:47 +08:00
|
|
|
// assetsDir: "../apps/com.awspaas.user.apps.cmp/screen",
|
2022-09-23 09:43:24 +08:00
|
|
|
})
|