23 lines
412 B
JavaScript
23 lines
412 B
JavaScript
const { defineConfig } = require('@vue/cli-service');
|
|
|
|
module.exports = defineConfig({
|
|
css: {
|
|
loaderOptions: {
|
|
less: {
|
|
lessOptions: {
|
|
javascriptEnabled: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
devServer: {
|
|
port: 80,
|
|
proxy: {
|
|
[process.env.VUE_APP_API_BASE_URL]: {
|
|
target: process.env.VUE_APP_API_TARGET_URL,
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|