@@ -25,6 +25,10 @@ module.exports = {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true
+ },
+ '/socket.io': {
+ target: 'http://localhost:3000',
+ changeOrigin: true
}
},
// CSS Sourcemaps off by default because relative paths are "buggy"
@@ -13,6 +13,7 @@
"highlight.js": "^9.10.0",
"lodash.throttle": "^4.1.1",
"marked": "^0.3.6",
+ "socket.io-client": "^1.7.3",
"vue": "^2.1.0",
"vue-axios": "^1.2.2",
"vue-router": "^2.1.1",