From 1cfda320d58bcfaa57d5eaa163b04e033cf4ee73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 4 Jul 2024 13:57:48 +0200 Subject: [PATCH] fix: Properly load styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/PageController.php | 1 + vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 854244a61..cfbedf6dc 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -35,6 +35,7 @@ public function index(): TemplateResponse { Util::addStyle(Application::APP_ID, 'grid'); Util::addStyle(Application::APP_ID, 'modal'); Util::addStyle(Application::APP_ID, 'tiptap'); + Util::addStyle(Application::APP_ID, 'tables-style'); if (class_exists(LoadEditor::class)) { $this->eventDispatcher->dispatchTyped(new LoadEditor()); diff --git a/vite.config.ts b/vite.config.ts index 11c1f78d5..9fe4e59d3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -12,7 +12,7 @@ const config = createAppConfig({ inlineCSS: false, config: { build: { - cssCodeSplit: true, + cssCodeSplit: false, rollupOptions: { output: { manualChunks: (id) => {