From 0de60c0d82c27350561d414c47277153d3d869c9 Mon Sep 17 00:00:00 2001 From: clement Date: Thu, 9 May 2024 05:28:13 +0300 Subject: [PATCH] Finish example on readme. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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); + } ```