more minor dynamic imports

This commit is contained in:
Henry Jameson 2026-06-04 21:24:35 +03:00
commit e6db1813ed
3 changed files with 22 additions and 17 deletions

View file

@ -13,7 +13,6 @@ import NavPanel from './components/nav_panel/nav_panel.vue'
import PostStatusModal from './components/post_status_modal/post_status_modal.vue'
import UserPanel from './components/user_panel/user_panel.vue'
import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'
import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'
import { getOrCreateServiceWorker } from './services/sw/sw'
import { windowHeight, windowWidth } from './services/window_utils/window_utils'
@ -41,7 +40,9 @@ export default {
),
InstanceSpecificPanel,
FeaturesPanel,
WhoToFollowPanel,
WhoToFollowPanel: defineAsyncComponent(
() => import('./components/who_to_follow_panel/who_to_follow_panel.vue'),
),
ShoutPanel: defineAsyncComponent(
() => import('src/components/shout_panel/shout_panel.vue'),
),