Skip to content

Commit

Permalink
Add Plugin Export
Browse files Browse the repository at this point in the history
  • Loading branch information
Drake Costa authored and Drake Costa committed Aug 19, 2018
1 parent 034bfc0 commit fadbfed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Expand Up @@ -10,7 +10,7 @@
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"@saeris/vue-spinners": "^1.0.4",
"@saeris/vue-spinners": "^1.0.5",
"emotion": "9.2.6",
"v-click-outside": "1.0.5",
"vue": "^2.5.2",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@saeris/vue-spinners",
"version": "1.0.4",
"version": "1.0.5",
"description": "Vue port of React Spinners",
"keywords": [
"loading spinners",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Expand Up @@ -8,7 +8,7 @@ export function install(Vue) {
})
}

const plugin = {
export const VueSpinners = {
install
}

Expand All @@ -19,7 +19,7 @@ if (typeof window !== `undefined`) {
GlobalVue = global.Vue
}
if (GlobalVue) {
GlobalVue.use(plugin)
GlobalVue.use(VueSpinners)
}

export default Components
Expand Down

0 comments on commit fadbfed

Please sign in to comment.