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

Commit8bb432b

Browse files
committed
Fixed plugin installation
1 parentc70b2ac commit8bb432b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
importTinyPaginationfrom'./src/components/TinyPagination.vue'
22

3-
exportfunctioninstall(Vue){
3+
constinstall=(Vue,opts={})=>{
44
if(install.installed)return
55
install.installed=true
66
Vue.component('TinyPagination',TinyPagination)
77
}
88

99
constplugin={
10-
install
10+
install,
11+
TinyPagination
1112
}
1213

1314
letGlobalVue=null
@@ -20,5 +21,4 @@ if (GlobalVue) {
2021
GlobalVue.use(plugin)
2122
}
2223

23-
export{TinyPagination}
24-
exportdefaultplugin
24+
exportdefaultplugin

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp