Skip to content

Commit

Permalink
docs: updated tiny example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Jun 24, 2022
1 parent 7e7b2c4 commit 3642a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Here's a taste of Perseus (see [the _tiny_ example](https://github.com/arctic-he
use perseus::{Html, PerseusApp, Template};
use sycamore::view;
#[perseus::main]
#[perseus::main(perseus_warp::dflt_server)]
pub fn main<G: Html>() -> PerseusApp<G> {
PerseusApp::new().template(|| {
Template::new("index").template(|cx, _| {
Expand Down

0 comments on commit 3642a4b

Please sign in to comment.