first commit
This commit is contained in:
27
examples/website/dist/index.html
vendored
Normal file
27
examples/website/dist/index.html
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Yew WASM Example</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||
|
||||
<link rel="modulepreload" href="/yew-website-example-8ba02796056a640c.js" crossorigin="anonymous" integrity="sha384-rJczW/6oCqkqPOvY/KtCcKPg/9kwaLZQWeUU/hqfK5mayxL8QKaFrTt2wdn+1SEg"><link rel="preload" href="/yew-website-example-8ba02796056a640c_bg.wasm" crossorigin="anonymous" integrity="sha384-8exQ6NCPp2EDp7E4QstlTlzUytyzAvbLwbPKnVTON61Zjgh6S2hkwBqvLClmjAMu" as="fetch" type="application/wasm"></head>
|
||||
<body style="background-color: unset;">
|
||||
<div id="app"></div>
|
||||
|
||||
<script type="module">
|
||||
import init, * as bindings from '/yew-website-example-8ba02796056a640c.js';
|
||||
const wasm = await init({ module_or_path: '/yew-website-example-8ba02796056a640c_bg.wasm' });
|
||||
|
||||
|
||||
window.wasmBindings = bindings;
|
||||
|
||||
|
||||
dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}}));
|
||||
|
||||
</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
1309
examples/website/dist/yew-website-example-8ba02796056a640c.js
vendored
Normal file
1309
examples/website/dist/yew-website-example-8ba02796056a640c.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
examples/website/dist/yew-website-example-8ba02796056a640c_bg.wasm
vendored
Normal file
BIN
examples/website/dist/yew-website-example-8ba02796056a640c_bg.wasm
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user