Skip to content

Commit

Permalink
always render home
Browse files Browse the repository at this point in the history
  • Loading branch information
BlinkyStitt committed Apr 19, 2024
1 parent e68c797 commit 2b0ecde
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions musical-leptos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ pub fn App() -> impl IntoView {
<Meta charset="UTF-8"/>
<Meta name="viewport" content="width=device-width, initial-scale=1.0"/>

<Router>
<Routes>
<Route path="/" view=Home/>
<Route path="/*" view=NotFound/>
</Routes>
</Router>
// <Router>
// <Routes>
// <Route path="/" view=Home/>
// <Route path="/*" view=NotFound/>
// </Routes>
// </Router>

// TODO: figure out how to get the router working on github pages. i thought public url would do it
<Home />
}
}

0 comments on commit 2b0ecde

Please sign in to comment.