Initialize rustfs-gui crate (#219)

- Set up the `rustfs-gui` package in the workspace.
- Add `dioxus` dependency with `router` feature.
- Configure workspace settings for edition, license, repository, and rust-version.
- Include lints configuration for the workspace.
This commit is contained in:
houseme
2025-02-17 17:54:57 +08:00
committed by GitHub
parent 0be26498d9
commit f8cc6f45b8
10 changed files with 1591 additions and 19 deletions
+16
View File
@@ -0,0 +1,16 @@
mod components;
mod views;
use dioxus::prelude::*;
fn main() {
dioxus::launch(App);
}
#[component]
fn App() -> Element {
// The use signal hook runs once when the component is created and then returns the current value every run after the first
let name = use_signal(|| "RustFS");
rsx! { "hello {name}!" }
}
View File