UNPKG

@qwik.dev/core

Version:

An open source framework for building instant loading web apps at any scale, without the extra effort.

28 lines (23 loc) 707 B
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Qwik browser-only starter</title> <script async type="module" src="@qwik.dev/core/qwikloader.js"> // ^ This is the QwikLoader, it's required for Qwik to work </script> </head> <body> <div id="root"></div> <script type="module"> import { render, jsx } from "@qwik.dev/core"; import Root from "./src/root"; /** This renders your application */ render(document.querySelector("#root"), jsx(Root)); if (isDev) { import("/@id/@qwik-hmr-bridge"); } </script> </body> </html>