@benev/nubs
Version:
user-input system for web games
30 lines (29 loc) • 685 B
JavaScript
import { html } from "xiome/x/toolbox/hamster-html/html.js";
import headBasicsHtml from "./head-basics.html.js";
export default ({ v, mainContent, headContent, htmlClass = "", ...options }) => html `
<html class="${htmlClass}">
<head>
${headBasicsHtml({ ...options, v, title: "nubs" })}
${html `
<script
type=importmap-shim
src="${v("/importmap.json")}"
></script>
<script
type=module-shim
async
src="${v("/html.js")}"
></script>
<script
async
src="/node_modules/es-module-shims/dist/es-module-shims.wasm.js"
></script>
`}
${headContent}
</head>
<body>
${mainContent}
</body>
`;
//# sourceMappingURL=page.html.js.map