🔧 Add Dioxus.toml file

This commit is contained in:
2024-04-05 17:06:28 +02:00
parent 0c1df908f2
commit 491e34903f
2 changed files with 22 additions and 1 deletions

View File

@@ -42,5 +42,6 @@ regex = "1.10.3"
template = "<original_name>--<id>"
[features]
default = ["desktop"]
default = []
desktop = ["dioxus/desktop"]
web = ["dioxus/web"]

20
Dioxus.toml Normal file
View File

@@ -0,0 +1,20 @@
[application]
name = "beau-gosse-du-92"
default_platform = "desktop"
[web.app]
name = "beau-gosse-du-92"
[web.watcher]
reload_html = true
watch_path = ["src", "font"]
[web.resource]
script = []
[web.resource.dev]
style = []
script = []
[[web.proxy]]
backend = "http://localhost:8000/api/"