@@ -150,17 +150,28 @@ import {
150150 TextInitial ,
151151 UserRound ,
152152} from ' @lucide/vue' ;
153- import { ref , onMounted , onUnmounted , watch } from ' vue' ;
153+ import { defineAsyncComponent , ref , onMounted , onUnmounted , watch } from ' vue' ;
154154import { useStyleStore } from ' @/stores/styleStore' ;
155155import { usePanelResize } from ' @/composables/usePanelResize' ;
156156import { useUiStore } from ' @/stores/uiStore' ;
157157import { useWindowStore } from ' @/stores/windowStore' ;
158158import ChunkListPanel from ' @/components/panels/ChunkListPanel.vue' ;
159- import IdentityPanel from ' @/components/panels/IdentityPanel.vue' ;
160- import RuleEditorPanel from ' @/components/panels/RuleEditorPanel.vue' ;
161- import ExportFormatPanel from ' @/components/panels/ExportFormatPanel.vue' ;
162- import SearchPanel from ' @/components/panels/SearchPanel.vue' ;
163- import SettingsPopover from ' @/components/popovers/SettingsPopover.vue' ;
159+
160+ const IdentityPanel = defineAsyncComponent (
161+ () => import (' @/components/panels/IdentityPanel.vue' ),
162+ );
163+ const RuleEditorPanel = defineAsyncComponent (
164+ () => import (' @/components/panels/RuleEditorPanel.vue' ),
165+ );
166+ const ExportFormatPanel = defineAsyncComponent (
167+ () => import (' @/components/panels/ExportFormatPanel.vue' ),
168+ );
169+ const SearchPanel = defineAsyncComponent (
170+ () => import (' @/components/panels/SearchPanel.vue' ),
171+ );
172+ const SettingsPopover = defineAsyncComponent (
173+ () => import (' @/components/popovers/SettingsPopover.vue' ),
174+ );
164175
165176const uiStore = useUiStore ();
166177const windowStore = useWindowStore ();
0 commit comments