frequi_origin/vue.config.js
2020-06-05 06:06:29 +00:00

18 lines
281 B
JavaScript

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