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