Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
fix: add base prop /nova to Router and Routes
Browse files Browse the repository at this point in the history
  • Loading branch information
mazziechai committed Mar 26, 2024
1 parent c922abc commit a5084a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nova-playground/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pub fn App() -> impl IntoView {
<Meta charset="UTF-8"/>
<Meta name="viewport" content="width=device-width, initial-scale=1.0"/>

<Router>
<Routes>
<Route path="nova" view=Home/>
<Router base="/nova">
<Routes base="/nova".to_string()>
<Route path="/" view=Home/>
</Routes>
</Router>
}
Expand Down

0 comments on commit a5084a1

Please sign in to comment.