Function HydrationScripts
pub fn HydrationScripts(props: HydrationScriptsProps) -> impl IntoView
Expand 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
true
to hydrate inislands
mode.
- Should be
- islands_router:
bool
- Should be
true
to 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