mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
Make it run in browser
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<html>
|
||||
<body>
|
||||
<!-- canvas required by the Slint runtime -->
|
||||
<canvas id="canvas"></canvas>
|
||||
<script type="module">
|
||||
// import the generated file.
|
||||
import init from "./pkg/inkopslista.js";
|
||||
init();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user