add import vue in readme

pull/15/head
whitekkk 8 years ago
parent a172f0219a
commit f21cb5dfa6

@ -15,6 +15,7 @@ socket.io implemantation for Vuejs 2.0 and 1.0
## Usage
``` js
import Vue from 'vue';
import VueSocketio from 'vue-socket.io';
Vue.use(VueSocketio, 'http://socketserver.com:1923'); // Automaticly socket connect from url string

Loading…
Cancel
Save