Nuxt/examples/with-sockets/nuxt.config.js
Sébastien Chopin ad14d7439e Update example
2017-01-18 18:04:41 +01:00

15 lines
281 B
JavaScript

module.exports = {
build: {
vendor: ['socket.io-client']
},
head: {
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
]
},
env: {
HOST_URL: process.env.HOST_URL || 'http://localhost:3000'
}
}