feat: add custom html support

This commit is contained in:
mrxiaozhuox committed 2022-03-20 19:31:30 +08:00
1 parent 6b0d57abe5
commit e5dfe84eb1
3 files changed
+26 -6

No files matched your search

-2
View File
@@ -4,11 +4,9 @@
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta charset="UTF-8" />
{style_include}
</head>
<body>
<div id="main"></div>
<!-- Note the usage of `type=module` here as this is an ES6 module -->
<script type="module">
import init from "./assets/dioxus/{app_name}.js";
init("./assets/dioxus/{app_name}_bg.wasm");