implemented infinite loading

probleme with beforeItemUuid and afterItemUuid
This commit is contained in:
2020-07-12 17:03:40 +02:00
parent 64c39862db
commit d336347fcb
4 changed files with 73 additions and 20 deletions
+19
View File
@@ -3,6 +3,8 @@ import router from './router'
import store from './store'
// import { sync } from 'vuex-router-sync'
import Meta from 'vue-meta'
import InfiniteLoading from 'vue-infinite-loading'
import App from './App'
import 'assets/css/mdi/css/materialdesignicons.css'
@@ -11,6 +13,23 @@ import 'assets/css/app.scss'
Vue.use(Meta)
Vue.use(InfiniteLoading, {
props: {
spinner: 'spiral'
},
slots: {
noMore: '',
noResult: ''
},
system: {
throttleLimit: 5000
}
// system: {
// throttleLimit: 50,
// /* other settings need to configure */
// }
})
// sync(store, router) // done. Returns an unsync callback fn
new Vue({