diff --git a/README.md b/README.md index 4ee73d2..7b2617a 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,10 @@ The components can be exposed for use by enabling features depending on the fram } } + + pub fn main() { + yew::Renderer::::new().render(); + } ``` - ### Leptos @@ -197,6 +201,10 @@ The components can be exposed for use by enabling features depending on the fram } } + + pub fn main() { + mount_to_body(MyApp); + } ```