Add index.html for todos and tour example

You can use `trunk serve` to easily compile them!
This commit is contained in:
Héctor Ramón Jiménez 2022-01-29 16:08:16 +07:00
parent 90afd1db8d
commit 2f57051283
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 25 additions and 0 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ pkg/
**/*.rs.bk
Cargo.lock
.cargo/
dist/

12
examples/todos/index.html Normal file
View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Todos - Iced</title>
<base data-trunk-public-url />
</head>
<body>
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z" data-bin="todos" />
</body>
</html>

12
examples/tour/index.html Normal file
View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Tour - Iced</title>
<base data-trunk-public-url />
</head>
<body>
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z" data-bin="tour" />
</body>
</html>