|
|
@ -6,9 +6,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="icon" type="image/png" href="./public/favicon.png">
|
|
|
|
<link rel="icon" type="image/png" href="/public/favicon.png">
|
|
|
|
|
|
|
|
|
|
|
|
<!--<link rel="stylesheet" type="text/css" href="./style.css">-->
|
|
|
|
<!--<link rel="stylesheet" type="text/css" href="/style.css">-->
|
|
|
|
|
|
|
|
|
|
|
|
<title>A Title</title>
|
|
|
|
<title>A Title</title>
|
|
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@
|
|
|
|
<body>
|
|
|
|
<body>
|
|
|
|
<section id="app"></section>
|
|
|
|
<section id="app"></section>
|
|
|
|
|
|
|
|
|
|
|
|
<script src='./pkg/package.js'></script>
|
|
|
|
<script src='/pkg/package.js'></script>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
// the `wasm_bindgen` global is set to the exports of the Rust module
|
|
|
|
// the `wasm_bindgen` global is set to the exports of the Rust module
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// here we tell bindgen the path to the wasm file so it can run
|
|
|
|
// here we tell bindgen the path to the wasm file so it can run
|
|
|
|
// initialization and return to us a promise when it's done
|
|
|
|
// initialization and return to us a promise when it's done
|
|
|
|
wasm_bindgen('./pkg/package_bg.wasm')
|
|
|
|
wasm_bindgen('/pkg/package_bg.wasm')
|
|
|
|
.then(run)
|
|
|
|
.then(run)
|
|
|
|
.catch(console.error);
|
|
|
|
.catch(console.error);
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|