frequi_origin/vue.config.js

21 lines
338 B
JavaScript
Raw Normal View History

2020-05-04 05:28:53 +00:00
module.exports = {
2020-11-09 18:16:41 +00:00
configureWebpack: {
devtool: 'source-map',
},
2020-05-04 05:28:53 +00:00
devServer: {
proxy: {
'/api': {
2020-05-04 18:34:59 +00:00
target: 'http://127.0.0.1:8081',
2020-05-04 05:28:53 +00:00
changeOrigin: true,
},
},
},
css: {
loaderOptions: {
sass: {
2020-09-08 09:53:34 +00:00
additionalData: '@import "@/styles/_variables.scss";',
},
},
},
2020-05-04 05:28:53 +00:00
};