implemented infinite loading
probleme with beforeItemUuid and afterItemUuid
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user