pub fn HydrationScripts(props: HydrationScriptsProps) -> impl IntoViewExpand description
Inserts hydration scripts that add interactivity to your server-rendered HTML.
This should be included in the <head> of your application shell.
§Required Props
- options:
LeptosOptions- Configuration options for this project.
§Optional Props
- islands:
bool- Should be
trueto hydrate inislandsmode.
- Should be
- islands_router:
bool- Should be
trueto add the “islands router,” which enables limited client-side routing when running in islands mode.
- Should be
- root:
impl Into<String>- A base url, not including a trailing slash