Skip to content

Commit 2ce1564

Browse files
Merge pull request #21 from yewstack/version-selection
allow yew version selection
2 parents c818c43 + 40a9374 commit 2ce1564

File tree

14 files changed

+2569
-17
lines changed

14 files changed

+2569
-17
lines changed

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ There is, however, a fair bit of Sass in [index.scss](index.scss) you can remove
6262
Update the `name`, `version`, `description` and `repository` fields in the [Cargo.toml](Cargo.toml) file.
6363
The [index.html](index.html) file also contains a `<title>` tag that needs updating.
6464

65+
If you cloned this repo without using `cargo generate`, you can safely remove the `cargo-generate` directory.
66+
6567
Finally, you should update this very `README` file to be about your app.
6668

6769
### License

cargo-generate.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
[template]
22
cargo_generate_version = ">=0.9.0"
33

4+
[placeholders]
5+
yew_version = { prompt = "Yew version", choices = ["stable", "next"], default = "stable", type = "string" }
6+
47
[hooks]
58
pre = ["cargo-generate/configure_files.rhai"]

0 commit comments

Comments
 (0)