Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit f6c3cde

Browse files
committed
Add additional check if plugin has already been registered
1 parent fe268fa commit f6c3cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function plugin(Vue) {
5050
});
5151
}
5252

53-
if (typeof window !== 'undefined' && window.Vue) {
53+
if (typeof window !== 'undefined' && window.Vue && !window.Vue.resource) {
5454
window.Vue.use(plugin);
5555
}
5656

0 commit comments

Comments
 (0)