Add some style and convert to unix line endings.
This commit is contained in:
parent
8de3c4e02a
commit
066dca02ca
@ -1,19 +1,30 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<link rel="modulepreload" href="/pkg/package.js" as="script" type="text/javascript">
|
<link rel="modulepreload" href="/pkg/package.js" as="script" type="text/javascript">
|
||||||
<link rel="preload" href="/pkg/package_bg.wasm" as="fetch" type="application/wasm" crossorigin="anonymous">
|
<link rel="preload" href="/pkg/package_bg.wasm" as="fetch" type="application/wasm" crossorigin="anonymous">
|
||||||
</head>
|
<style>
|
||||||
|
.message {
|
||||||
<body>
|
padding-left: 0.5em;
|
||||||
<section id="app"></section>
|
}
|
||||||
<script type="module">
|
.body {
|
||||||
import init from '/pkg/package.js';
|
padding-bottom: 1em;
|
||||||
init('/pkg/package_bg.wasm');
|
}
|
||||||
</script>
|
.error {
|
||||||
</body>
|
background-color: red;
|
||||||
|
}
|
||||||
</html>
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<section id="app"></section>
|
||||||
|
<script type="module">
|
||||||
|
import init from '/pkg/package.js';
|
||||||
|
init('/pkg/package_bg.wasm');
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user