From cf13682e5b97a6d67a39c0acd556d792aa4910fa Mon Sep 17 00:00:00 2001 From: Denis Karabaza Date: Wed, 6 Dec 2017 01:15:45 +0300 Subject: [PATCH] Improve automatic installation criteria --- src/shared/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/plugin.js b/src/shared/plugin.js index 4f321cb..d10cb3b 100644 --- a/src/shared/plugin.js +++ b/src/shared/plugin.js @@ -10,7 +10,7 @@ import { } from './constants' // automatic install -if (typeof Vue !== 'undefined') { +if (typeof window !== 'undefined' && typeof window.Vue != 'undefined') { Vue.use(VueMeta) }