Skip to content

Commit 01ebec5

Browse files
committed
Updated docs
1 parent 757a707 commit 01ebec5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ npm i -S vue-tiny-pagination
3434
@tiny:change-page="changePage"></tiny-pagination>
3535
</div>
3636
```
37-
37+
You can import the component and define this in specific section:
3838
```javascript
3939
import {TinyPagination} from 'vue-tiny-pagination'
4040

@@ -56,6 +56,11 @@ new Vue({
5656
}
5757
});
5858
```
59+
or define the component on Global application
60+
```javascript
61+
import TinyPagination from 'vue-tiny-pagination'
62+
Vue.use(TinyPagination)
63+
```
5964

6065
### Documentation
6166

0 commit comments

Comments
 (0)