Skip to content

Commit

Permalink
Changes to be committed:
Browse files Browse the repository at this point in the history
	modified:   website/versioned_docs/version-0.21/getting-started/build-a-sample-app.mdx
  • Loading branch information
moyeah committed Sep 29, 2023
1 parent aad9065 commit 7a714f9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ yew = { version = "0.21.0", features = ["csr"] }

or using `cargo add yew -F csr`.

````
:::info

You only need the feature `csr` if you are building an application.
Expand Down Expand Up @@ -111,14 +109,14 @@ fn App() -> Html {
fn main() {
yew::Renderer::<App>::new().render();
}
````
```

#### Create index.html

Finally, add an `index.html` file in the root directory of your app.

```html , title=index.html
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
Expand Down

0 comments on commit 7a714f9

Please sign in to comment.