From f7569697f02c52746c14c054acf389427eba69fa Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Wed, 6 Nov 2024 00:56:37 +0100 Subject: [PATCH] chore(ui): split the bundle for `BuilderApp` I noticed that the builder load **many** components on the loading, which hurts a lot performances. Many of them could be delayed to be loaded only when visible (like on `v-if="true"`) using `defineAsyncComponent`). --- src/ui/src/builder/BuilderApp.vue | 39 ++++++++++++++++------- src/ui/src/builder/BuilderFieldsTools.vue | 7 ++-- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/src/ui/src/builder/BuilderApp.vue b/src/ui/src/builder/BuilderApp.vue index 391cdc854..787e4db27 100644 --- a/src/ui/src/builder/BuilderApp.vue +++ b/src/ui/src/builder/BuilderApp.vue @@ -93,21 +93,38 @@