platypush/platypush/backend/http/webapp/vue.config.js

40 lines
789 B
JavaScript

module.exports = {
outputDir: "dist",
assetsDir: "static",
css: {
loaderOptions: {
sass: {
additionalData: `
@import '~bulma';
@import '~w3css/w3.css';
@import "@/style/common.scss";
`
}
}
},
devServer: {
proxy: {
'/execute': {
target: 'http://localhost:8008',
changeOrigin: true
},
'/auth': {
target: 'http://localhost:8008',
changeOrigin: true
},
'/logout': {
target: 'http://localhost:8008',
changeOrigin: true
},
'/camera/*': {
target: 'http://localhost:8008',
changeOrigin: true
},
'/sound/*': {
target: 'http://localhost:8008',
changeOrigin: true
}
}
}
};