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

41 lines
789 B
JavaScript
Raw Normal View History

2020-11-21 01:12:08 +01:00
module.exports = {
outputDir: "dist",
2020-11-21 01:12:08 +01:00
assetsDir: "static",
css: {
loaderOptions: {
sass: {
additionalData: `
@import '~bulma';
2020-12-14 02:13:55 +01:00
@import '~w3css/w3.css';
2020-12-26 15:03:12 +01:00
@import "@/style/common.scss";
2020-11-21 01:12:08 +01:00
`
}
}
},
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
2020-11-21 01:12:08 +01:00
}
}
}
};