frequi_origin/vue.config.js

18 lines
284 B
JavaScript

module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://127.0.0.1:8081',
changeOrigin: true,
},
},
},
css: {
loaderOptions: {
sass: {
additionalData: `@import "@/styles/_variables.scss";`,
},
},
},
};