From 3284b03819fab24a426588509cfa40ea0aaf58d9 Mon Sep 17 00:00:00 2001 From: xfy Date: Wed, 24 Jun 2026 11:04:29 +0800 Subject: [PATCH] build: register lightbox assets in Dioxus.toml, gitignore public/lightbox --- .gitignore | 1 + Dioxus.toml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 676d43a..c727651 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ others/ public/style.css public/highlight.css public/tiptap +public/lightbox /static .env docs/superpowers/ diff --git a/Dioxus.toml b/Dioxus.toml index 7abe9e8..94fff66 100644 --- a/Dioxus.toml +++ b/Dioxus.toml @@ -10,9 +10,9 @@ title = "Yggdrasil - Dioxus SSR" watch_path = ["src", "Cargo.toml"] [web.resource] -style = ["/style.css", "/highlight.css", "/tiptap/editor.css"] -script = ["/tiptap/editor.js"] +style = ["/style.css", "/highlight.css", "/tiptap/editor.css", "/lightbox/lightbox.css"] +script = ["/tiptap/editor.js", "/lightbox/lightbox.js"] [web.resource.dev] -style = ["/style.css", "/highlight.css", "/tiptap/editor.css"] -script = ["/tiptap/editor.js"] +style = ["/style.css", "/highlight.css", "/tiptap/editor.css", "/lightbox/lightbox.css"] +script = ["/tiptap/editor.js", "/lightbox/lightbox.js"]