From e7c7ff9a239052c89064e7c59cc01100b31e0898 Mon Sep 17 00:00:00 2001 From: Ian Jennings Date: Mon, 6 Jul 2020 20:03:35 -0500 Subject: [PATCH] Add syntax highlighting to Vue template examples --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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