diff --git a/Cargo.toml b/Cargo.toml index 81da87b..e1ea895 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,5 +42,6 @@ regex = "1.10.3" template = "--" [features] -default = ["desktop"] +default = [] desktop = ["dioxus/desktop"] +web = ["dioxus/web"] diff --git a/Dioxus.toml b/Dioxus.toml new file mode 100644 index 0000000..f2fe9d9 --- /dev/null +++ b/Dioxus.toml @@ -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/"