build: register lightbox assets in Dioxus.toml, gitignore public/lightbox
This commit is contained in:
parent
b4ef906141
commit
3284b03819
1
.gitignore
vendored
1
.gitignore
vendored
@ -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/
|
||||||
|
|||||||
@ -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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user