-
The tailwind example does not have |
Beta Was this translation helpful? Give feedback.
Answered by
IgnisDa
Mar 23, 2023
Replies: 1 comment
-
NVM figured out how to do it: #[component]
pub fn App(cx: Scope) -> impl IntoView {
provide_meta_context(cx);
view! {
cx,
<Stylesheet id="leptos" href="/pkg/project.css"/>
<Link rel="shortcut icon" type_="image/ico" href="/favicon.ico"/>
<Title text="Your title"/>
<Router>
<Routes>
<Route path="/" view= move |cx| view! { cx, <Home/> }/>
</Routes>
</Router>
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
IgnisDa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NVM figured out how to do it: