Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67ab246

Browse files
committed
Added entry for build component plugin for vue
1 parent31a5884 commit67ab246

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

‎index.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
importTinyPaginationfrom'./src/components/TinyPagination.vue'
2+
3+
exportfunctioninstall(Vue){
4+
if(install.installed)return
5+
install.installed=true
6+
Vue.component(TynyPagination.name,TinyPagination)
7+
}
8+
9+
constplugin={
10+
install
11+
}
12+
13+
letGlobalVue=null
14+
if(typeofwindow!=='undefined'){
15+
GlobalVue=window.Vue
16+
}elseif(typeofglobal!=='undefined'){
17+
GlobalVue=global.Vue
18+
}
19+
if(GlobalVue){
20+
GlobalVue.use(plugin)
21+
}
22+
23+
exportdefaultTinyPagination

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp