mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-08 14:23:13 +00:00
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:
@@ -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}!" }
|
||||
}
|
||||
Reference in New Issue
Block a user