mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
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:
parent
ce7702e9e7
commit
7706bcf3a3
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user