mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
983fcfc616
* hoist example projects, remove oidc * move over example projects from the separate repo * Update ecommerce site to the latest version of dioxus * update wifi scanner to 0.5 * drop the chatbot example; might be restored in a separate PR --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
30 lines
No EOL
759 B
HTML
30 lines
No EOL
759 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{app_title}</title>
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
navigator.serviceWorker.register(
|
|
'/sw.js'
|
|
);
|
|
}
|
|
</script>
|
|
<link rel="manifest" href="manifest.json">
|
|
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="UTF-8" />
|
|
{style_include}
|
|
</head>
|
|
<body>
|
|
<div id="main"></div>
|
|
<script type="module">
|
|
import init from "/{base_path}/assets/dioxus/{app_name}.js";
|
|
init("/{base_path}/assets/dioxus/{app_name}_bg.wasm").then(wasm => {
|
|
if (wasm.__wbindgen_start == undefined) {
|
|
wasm.main();
|
|
}
|
|
});
|
|
</script>
|
|
{script_include}
|
|
</body>
|
|
</html> |