Clean up desktop's index.html
Initially I wanted to delete only the duplicated `<html>` opening tag, but then decided to make it a fully valid HTML document. Passes https://validator.w3.org/nu/#textarea check.
This commit is contained in:
1 file changed
+12
-19
@@ -1,22 +1,15 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
<head>
|
||||||
<html>
|
<title>Dioxus app</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<head>
|
</head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" charset="utf-8" />
|
<body>
|
||||||
</head>
|
<div id="main"></div>
|
||||||
|
<script>
|
||||||
|
import("./index.js").then(function (module) {
|
||||||
<body>
|
module.main();
|
||||||
<div id="main">
|
});
|
||||||
</div>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script>
|
|
||||||
import("./index.js").then(function (module) {
|
|
||||||
module.main();
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in new issue
Block a user