Skip to content

Commit d77109c

Browse files
authored
Update HashRouter in README.md
1 parent 591f34c commit d77109c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ render(() => <Router>{route}</Router>, document.getElementById("app"));
674674

675675
### Hash Mode Router
676676

677-
By default, Solid Router uses `location.pathname` as route path. You can simply switch to hash mode through the `source` property on `<Router>` component.
677+
By default, Solid Router uses `location.pathname` as route path. You can simply switch to hash mode through using `<HashRouter>`.
678678

679679
```jsx
680680
import { HashRouter } from "@solidjs/router";

0 commit comments

Comments
 (0)