boilerplate
This commit is contained in:
11
src/views/home.rs
Normal file
11
src/views/home.rs
Normal file
@ -0,0 +1,11 @@
|
||||
use dioxus::prelude::*;
|
||||
use crate::components::{Hero, Echo};
|
||||
|
||||
/// The Home page component that will be rendered when the current route is `[Route::Home]`
|
||||
#[component]
|
||||
pub fn Home() -> Element {
|
||||
rsx! {
|
||||
Hero {}
|
||||
Echo {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user