Fix the router and stub out a number of crates to get compiling

This commit is contained in:
Jonathan Kelley committed 2024-01-13 20:51:37 -08:00
1 parent 4c6e515da4
commit fae0b08e61
226 files changed
+1057 -1482

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ fn main() {
println!("{}", html);
}
fn app(cx: Scope) -> Element {
fn app() -> Element {
render! {
Component {
width: "10px",
@@ -21,7 +21,7 @@ fn app(cx: Scope) -> Element {
}
#[component]
fn Component<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
fn Component(props: Props -> Element {
render! {
audio { ..cx.props.attributes, "1: {cx.props.extra_data}\n2: {cx.props.extra_data2}" }
}