Say something about trunk serve at the top (#3394)

* Say something about `trunk serve` at the top

I was following this guide and did `cargo run` instead of `trunk serve` and was very confused

* Remove blank line

to make Prettier happy
This commit is contained in:
Connor King 2023-09-23 08:35:33 -04:00 committed by GitHub
parent ce7702e9e7
commit 7706bcf3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,12 +8,18 @@ the boilerplate needed for a basic Yew app or manually set up a small project.
## Using a starter template ## Using a starter template
Install [`cargo-generate`](https://github.com/cargo-generate/cargo-generate) by following their installation instructions Install [`cargo-generate`](https://github.com/cargo-generate/cargo-generate) by following their installation instructions
then run the following command: then run the following commands:
```shell ```shell
cargo generate --git https://github.com/yewstack/yew-trunk-minimal-template cargo generate --git https://github.com/yewstack/yew-trunk-minimal-template
``` ```
Change directory into your newly created project, then:
```
trunk serve
```
## Setting up the application manually ## Setting up the application manually
### Create Project ### Create Project