summaryrefslogtreecommitdiffstats
path: root/examples/tour.html
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-06 20:06:13 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-06 20:06:13 +0200
commit5286ef36b6a5eb6846b5675a7a4aced72601df3b (patch)
tree90f90a0e326c5c2eb598ba1a50c8096f0ea074ad /examples/tour.html
parent7765e6da50a3448501ee1b639e580c94a4fbda8a (diff)
downloadiced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.tar.gz
iced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.tar.bz2
iced-5286ef36b6a5eb6846b5675a7a4aced72601df3b.zip
Make `tour` a simple example instead of a crate
Diffstat (limited to 'examples/tour.html')
-rw-r--r--examples/tour.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/tour.html b/examples/tour.html
new file mode 100644
index 00000000..b17ac4a2
--- /dev/null
+++ b/examples/tour.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
+ <title>Tour - Iced</title>
+ </head>
+ <body>
+ <script type="module">
+ import init from "./pkg/iced_tour.js";
+ init("./pkg/iced_tour_bg.wasm");
+ </script>
+ </body>
+</html>