Skip to content

Commit

Permalink
Merge pull request #169 from simplesmiler/fix-auto-install
Browse files Browse the repository at this point in the history
Improve automatic installation criteria
  • Loading branch information
Atinux committed Dec 7, 2017
2 parents 5acf4cb + 148f803 commit 4c8c7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from './constants'

// automatic install
if (typeof Vue !== 'undefined') {
if (typeof window !== 'undefined' && typeof window.Vue !== 'undefined') {
Vue.use(VueMeta)
}

Expand Down

0 comments on commit 4c8c7b7

Please sign in to comment.