frequi_origin/vue.config.js

18 lines
284 B
JavaScript
Raw Normal View History

2020-05-04 05:28:53 +00:00
module.exports = {
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
};