diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-01-03 18:57:26 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-01-03 18:57:26 +0000 |
| commit | a7387332ed3a3a26de1f818d0bf6b967ab778d4a (patch) | |
| tree | 832dd89b1145b844e3537ff9340dcca1096ee079 /src/boot/after_store.js | |
| parent | 3e8aa0a3984574d7ab191efd837dfa245e328968 (diff) | |
| parent | 47af5419b13688893a38c34fd55f4edf58dad6b2 (diff) | |
Merge branch 'from/develop/tusooa/emoji-picker-lazy' into 'develop'
Remove lozad, use virtual scrolling
See merge request pleroma/pleroma-fe!1717
Diffstat (limited to 'src/boot/after_store.js')
| -rw-r--r-- | src/boot/after_store.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js index 7a4672b6..1fa9dd2a 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -1,6 +1,8 @@ import { createApp } from 'vue' import { createRouter, createWebHistory } from 'vue-router' import vClickOutside from 'click-outside-vue3' +import VueVirtualScroller from 'vue-virtual-scroller' +import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' import { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome' @@ -397,6 +399,7 @@ const afterStoreSetup = async ({ store, i18n }) => { app.use(vClickOutside) app.use(VBodyScrollLock) + app.use(VueVirtualScroller) app.component('FAIcon', FontAwesomeIcon) app.component('FALayers', FontAwesomeLayers) |
