Tofu/index.html
2026-09-18 01:41:02 +02:00

32 lines
1 KiB
HTML

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tofu — planning des repas</title>
<link rel="stylesheet" href="./styles/tokens.css">
<link rel="stylesheet" href="./styles/base.css">
<link rel="stylesheet" href="./styles/sheet.css">
<link rel="stylesheet" href="./styles/print.css">
<!--
Module resolution: no bundler, no build step. The libraries are local files
in libs/ and every internal import is written '#tofu/...', which resolves
here through this import map and in Node through the "imports" field of
package.json. See libs/README.md.
-->
<script type="importmap">
{ "imports": {
"preact": "./libs/preact.js",
"preact/hooks": "./libs/preact-hooks.js",
"htm/preact": "./libs/htm-preact.js",
"#tofu/": "./app/"
} }
</script>
</head>
<body>
<main id="root"></main>
<script type="module" src="./app/main.js"></script>
</body>
</html>