Skip to content

Commit

Permalink
Finish example on readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
clementwanjau committed May 9, 2024
1 parent 0d766e4 commit 0de60c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ The components can be exposed for use by enabling features depending on the fram
</div>
}
}

pub fn main() {
yew::Renderer::<MyApp>::new().render();
}
```

- ### Leptos
Expand Down Expand Up @@ -197,6 +201,10 @@ The components can be exposed for use by enabling features depending on the fram
</div>
}
}

pub fn main() {
mount_to_body(MyApp);
}
```


Expand Down

0 comments on commit 0de60c0

Please sign in to comment.