From 491e34903f3105699829ba1e520e032ff1ed3f1e Mon Sep 17 00:00:00 2001 From: Adrien Date: Fri, 5 Apr 2024 17:06:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20Dioxus.toml=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 3 ++- Dioxus.toml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Dioxus.toml 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/"