build: register lightbox assets in Dioxus.toml, gitignore public/lightbox

This commit is contained in:
xfy 2026-06-24 11:04:29 +08:00
parent b4ef906141
commit 3284b03819
2 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ others/
public/style.css public/style.css
public/highlight.css public/highlight.css
public/tiptap public/tiptap
public/lightbox
/static /static
.env .env
docs/superpowers/ docs/superpowers/

View File

@ -10,9 +10,9 @@ title = "Yggdrasil - Dioxus SSR"
watch_path = ["src", "Cargo.toml"] watch_path = ["src", "Cargo.toml"]
[web.resource] [web.resource]
style = ["/style.css", "/highlight.css", "/tiptap/editor.css"] style = ["/style.css", "/highlight.css", "/tiptap/editor.css", "/lightbox/lightbox.css"]
script = ["/tiptap/editor.js"] script = ["/tiptap/editor.js", "/lightbox/lightbox.js"]
[web.resource.dev] [web.resource.dev]
style = ["/style.css", "/highlight.css", "/tiptap/editor.css"] style = ["/style.css", "/highlight.css", "/tiptap/editor.css", "/lightbox/lightbox.css"]
script = ["/tiptap/editor.js"] script = ["/tiptap/editor.js", "/lightbox/lightbox.js"]