/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-client-side-b75933f1f06d-client-side-s0502-c0000.md
Client-side - hono-docs
Client side Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt client side Summary vite ssr componen...
Client-side
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#client-side
Summary
vite-ssr-components lets you load client-side scripts through Vite. Add a Script component pointing to your client entry point, and Vite handles bundling for both dev and production: ```tsx import { jsxRenderer } from 'hono/jsx-rende...
Content
vite-ssr-components lets you load client-side scripts through Vite.
Add a Script component pointing to your client entry point, and Vite handles bundling for both dev and production:
import { jsxRenderer } from 'hono/jsx-renderer'
import { Script, ViteClient } from 'vite-ssr-components/hono'
export const renderer = jsxRenderer(({ children }) => {
return (
<html>
<head>
<ViteClient />
<Script src='/src/client.ts' />
</head>
<body>{children}</body>
</html>
)
})For more details, see the @cloudflare/vite-plugin documentation and vite-ssr-components.