2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-07 22:42:25 +03:00

Improve automatic installation criteria

This commit is contained in:
Denis Karabaza
2017-12-06 01:15:45 +03:00
committed by GitHub
parent 5acf4cbe45
commit cf13682e5b
+1 -1
View File
@@ -10,7 +10,7 @@ import {
} from './constants'
// automatic install
if (typeof Vue !== 'undefined') {
if (typeof window !== 'undefined' && typeof window.Vue != 'undefined') {
Vue.use(VueMeta)
}