Skip to content

Commit 0830a54

Browse files
committed
fix: broken vue component
1 parent 8e02324 commit 0830a54

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/vue/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const Plugin = {
2+
install(Vue) {
3+
Vue.registerElement('NativePager', () => require('../').Pager);
4+
Vue.registerElement('PagerItem', () => require('../').PagerItem);
5+
Vue.component('Pager', require('./pager')(Vue));
6+
}
7+
};
8+
9+
export default Plugin;

0 commit comments

Comments
 (0)