Make tour example work on Wasm again
This commit is contained in:
parent
c7ef9d0da7
commit
6145140816
3 changed files with 23 additions and 6 deletions
|
|
@ -6,8 +6,9 @@
|
|||
</head>
|
||||
<body>
|
||||
<script type="module">
|
||||
import init from "./pkg/iced_tour.js";
|
||||
init("./pkg/iced_tour_bg.wasm");
|
||||
import init from "./tour/tour.js";
|
||||
|
||||
init('./tour/tour_bg.wasm');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue