frequi_origin/vue.config.js
2020-11-09 19:16:56 +01:00

21 lines
338 B
JavaScript

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