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:
@@ -10,7 +10,7 @@ import {
|
||||
} from './constants'
|
||||
|
||||
// automatic install
|
||||
if (typeof Vue !== 'undefined') {
|
||||
if (typeof window !== 'undefined' && typeof window.Vue != 'undefined') {
|
||||
Vue.use(VueMeta)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user