Add new setting view, component, and router to rustfs-gui (#223)

- Create `SettingViews` component in `views/setting.rs`.
- Update `views/mod.rs` to include the new `SettingViews` component.
- Update routing in `main.rs` to include the new route for `SettingViews`.
This commit is contained in:
houseme
2025-02-18 01:39:16 +08:00
committed by GitHub
parent 08bca5a129
commit 279f8397f7
7 changed files with 617 additions and 2 deletions
+3
View File
@@ -1,2 +1,5 @@
mod home;
mod setting;
pub use home::HomeViews;
pub use setting::SettingViews;
+9
View File
@@ -0,0 +1,9 @@
use crate::components::Setting;
use dioxus::prelude::*;
#[component]
pub fn SettingViews() -> Element {
rsx! {
Setting {}
}
}