diff --git a/src/index.js b/src/index.js index 9c6fadd..1ad3c26 100644 --- a/src/index.js +++ b/src/index.js @@ -19,7 +19,7 @@ export { SmartWidget } -if (typeof window !== 'undefined' && window.Vue) { +if (typeof window !== 'undefined' && window.Vue && window.Vue.use) { window.Vue.use(install) if (install.installed) { install.installed = false