clientEntrySource
The generated client entry: starts the app on the server's markup.
The generated client entry: starts the app on the server's markup.
Import#
ts
import { clientEntrySource } from "@shadow-js/dusk/vite";
Signature#
ts
function clientEntrySource(input: ClientEntryInput): string
Parameters#
| Name | Description |
|---|---|
input |
See ClientEntryInput. |
Returns#
Module text.
Examples#
ts
clientEntrySource({ base: "", generatedTree, appFile });