mobitter/vue.config.js

16 lines
323 B
JavaScript
Raw Normal View History

2023-01-20 16:35:15 +00:00
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
devServer: {
allowedHosts: "all",
liveReload: true,
hot: true,
client: {
webSocketURL: 'ws://0.0.0.0/ws',
},
headers: {
'Access-Control-Allow-Origin': '*',
}
},
transpileDependencies: true
})