mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-23 16:20:35 +03:00
Improve automatic installation criteria
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user