diff --git a/README.md b/README.md index 2cbe5f9..18bd5ff 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ In order to get the integration between your Vue's application and PubNub, PubNu **PubNubVue** must be installed like a plugin. -``` +```js import Vue from 'vue'; import PubNubVue from 'pubnub-vue'; import App from './App'; @@ -44,7 +44,7 @@ new Vue({ Use the hook mounted to subscribe channels using **$pnSubscribe** method -``` +```js export default { name: 'app', mounted() { @@ -95,7 +95,7 @@ export default { -``` +```js