Skip to content

Commit

Permalink
Export the component
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjohansson committed Jan 15, 2018
1 parent 04d6489 commit b5f3080
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@ $ yarn add vuebbble --dev
$ npm i vuebbble --save-dev
```

#### Register the component:
#### Setup:

```javascript
// register the plugin
import Vue from 'vue'
import Vuebbble from 'vuebbble'

Vue.use(Vuebbble)

// ... or register the component manually
import Vue from 'vue'
import { Vuebbble } from 'vuebbble'

Expand Down
2 changes: 1 addition & 1 deletion dist/vuebbble.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuebbble",
"version": "2.3.2",
"version": "2.3.3",
"description": "Vue component to easily display dribbble shots from a user",
"author": "Robbin Johansson <[email protected]>",
"main": "dist/vuebbble.min.js",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ if (typeof window !== 'undefined' && window.Vue) {
}

export default plugin
export { Vuebbble }

0 comments on commit b5f3080

Please sign in to comment.