mobitter/vue.config.js

16 lines
323 B
JavaScript

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
})