From 8f82e1306b10738fceaf3caa59cb5b10e8af7893 Mon Sep 17 00:00:00 2001 From: Declan de Wet Date: Mon, 31 Oct 2016 03:18:42 +0200 Subject: [PATCH] add note that calling Vue.use is not required if Vue is available as a global --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 947f1a2..19ec0ba 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ $ yarn add vue-meta # Usage ### Step 1: Preparing the plugin +> This step is optional if you don't need SSR and `Vue` is available as a global variable. `vue-meta` will install itself in this case. + In order to use this plugin, you first need to pass it to `Vue.use` in a file that runs both on the server and on the client before your root instance is mounted. If you're using [`vue-router`](https://github.com/vuejs/vue-router), then your main `router.js` file is a good place: **router.js:**