1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x1 x1 x1 x1 x1 x1 |
/**
* Mizu client-side renderer.
* @module
*/
import { Client } from "./client.ts"
export { Client as Mizu } from "./client.ts"
export type * from "./client.ts"
/** Default Mizu {@linkcode Client} instance. */
export default Client.default as Client
// Start the client-side renderer if this module is the main entry point
// @ts-expect-error: iife handling
if ((globalThis.MIZU_IIFE) && (globalThis.window?.document)) {
Client.default.render()
}
|