mirror of
https://github.com/hanzoai/viem.git
synced 2026-10-30 19:36:39 +00:00
18 lines
494 B
HTML
18 lines
494 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
</head>
|
|
<body>
|
|
<h1>_REPLACE ME_ Example</h1>
|
|
<div id="app">Loading...</div>
|
|
<script type="module">
|
|
import out from './index.ts';
|
|
document.querySelector('#app').innerHTML = Array.isArray(out)
|
|
? out.map(x => `<div style="margin-bottom: 16px;">${x}</div>`).join('')
|
|
: out;
|
|
</script>
|
|
</body>
|
|
</html>
|