KH_OfficialWebsite/vue.config.js

23 lines
414 B
JavaScript
Raw Permalink Normal View History

2024-12-13 10:45:57 +08:00
const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
css: {
loaderOptions: {
less: {
lessOptions: {
javascriptEnabled: true,
},
},
},
},
devServer: {
2024-12-24 20:22:07 +08:00
port: 8088,
2024-12-13 10:45:57 +08:00
proxy: {
[process.env.VUE_APP_API_BASE_URL]: {
target: process.env.VUE_APP_API_TARGET_URL,
changeOrigin: true,
},
},
},
});