From a0b6e98144eff40ed01b3ef64438fc1b41fac904 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 22 Sep 2016 13:42:15 +0200 Subject: [PATCH] Fix Vue 1.x compatibility --- lib/vue-plugin.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vue-plugin.js b/lib/vue-plugin.js index 19e947d..4cb49b0 100644 --- a/lib/vue-plugin.js +++ b/lib/vue-plugin.js @@ -190,7 +190,7 @@ module.exports = { Vue.mixin({ // Vue 1.x - beforeCompile: prepare, + init: prepare, // Vue 2.x beforeCreate: prepare, diff --git a/package.json b/package.json index 35bb992..64b6946 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-apollo", - "version": "1.0.0-beta9", + "version": "1.0.0-beta10", "description": "Vue apollo integration", "main": "index.js", "scripts": {