Skip to content

Commit

Permalink
Auto-install only if able to
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Aug 24, 2022
1 parent 20f0793 commit e5c51df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (typeof window !== 'undefined') {
} else if (typeof global !== 'undefined') {
GlobalVue = global.Vue;
}
if (GlobalVue) {
if (GlobalVue && 'use' in GlobalVue) {
GlobalVue.use(plugin);
}

Expand Down

0 comments on commit e5c51df

Please sign in to comment.