rewrite folder view using @Akryum/vue-virtual-scroller

This commit is contained in:
geoffrey45
2022-10-08 12:43:38 +03:00
committed by Mungai Njoroge
parent 1fa7ec4c43
commit b3b7da701b
4 changed files with 91 additions and 13 deletions
+10 -3
View File
@@ -1,8 +1,13 @@
import { createApp } from "vue";
import { createPinia } from "pinia";
// @ts-ignore
import { RecycleScroller } from "vue-virtual-scroller";
import {
RecycleScroller,
DynamicScroller,
DynamicScrollerItem,
// @ts-ignore
} from "vue-virtual-scroller";
import { autoAnimatePlugin } from "@formkit/auto-animate/vue";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
@@ -21,6 +26,8 @@ app.use(pinia);
app.use(router);
app.directive("tooltip", vTooltip);
app.use(autoAnimatePlugin);
app.component("RecycleScroller", RecycleScroller)
app.component("RecycleScroller", RecycleScroller);
app.component("DynamicScroller", DynamicScroller);
app.component("DynamicScrollerItem", DynamicScrollerItem);
app.mount("#app");