2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-23 21:50:33 +03:00

Merge pull request #169 from simplesmiler/fix-auto-install

Improve automatic installation criteria
This commit is contained in:
Sébastien Chopin
2017-12-07 12:04:14 +01:00
committed by GitHub
+1 -1
View File
@@ -10,7 +10,7 @@ import {
} from './constants' } from './constants'
// automatic install // automatic install
if (typeof Vue !== 'undefined') { if (typeof window !== 'undefined' && typeof window.Vue !== 'undefined') {
Vue.use(VueMeta) Vue.use(VueMeta)
} }