2026-09-08 16:56:54 +02:00
|
|
|
<!doctype html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<title>choo v8 counter — zero build</title>
|
|
|
|
|
<!--
|
|
|
|
|
No bundler, no compiler, no node_modules in the browser: an import map
|
|
|
|
|
and native ES modules. Serve this directory from the repo root, e.g.
|
|
|
|
|
npx serve .
|
|
|
|
|
then open /examples/counter/
|
|
|
|
|
-->
|
|
|
|
|
<script type="importmap">
|
|
|
|
|
{
|
|
|
|
|
"imports": {
|
2026-09-08 19:55:20 +02:00
|
|
|
"@uhhm/buuh": "../../packages/core/index.js",
|
|
|
|
|
"@uhhm/buuh/timing": "../../packages/core/lib/timing.js",
|
|
|
|
|
"@uhhm/buuh-html": "../../packages/html/browser.js",
|
|
|
|
|
"@uhhm/buuh-html/raw": "../../packages/html/raw.js",
|
|
|
|
|
"@uhhm/buuh-html/morph": "../../packages/html/morph.js",
|
|
|
|
|
"@uhhm/buuh-html/hydrate": "../../packages/html/hydrate.js"
|
2026-09-08 16:56:54 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<script type="module">
|
|
|
|
|
import createApp from './app.js'
|
|
|
|
|
createApp().mount('body')
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|