Skip to content

Commit

Permalink
Change 'Model' to 'App' in sample app description. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelvanderwaal authored and jstarry committed Jan 15, 2020
1 parent 5eea83c commit bc040e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getting-started/build-a-sample-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn main() {
```
{% endcode %}

This template sets up your root `Component`, called `App` which shows a button that updates itself when you click it. Take special note of `yew::start_app::<Model>()` inside `main()` which starts your app and mounts it to the page's `<body>` tag. If you would like to start your application with any dynamic properties, you can instead use `yew::start_app_with_props(..)`.
This template sets up your root `Component`, called `App` which shows a button that updates itself when you click it. Take special note of `yew::start_app::<App>()` inside `main()` which starts your app and mounts it to the page's `<body>` tag. If you would like to start your application with any dynamic properties, you can instead use `yew::start_app_with_props(..)`.

### Run your App!

Expand Down

0 comments on commit bc040e4

Please sign in to comment.