HonoH
Hono9mo ago
gavriguy

Using honox client.ts to load web components

I'm using honox client.ts to load web components I created in Lit. It works great but only when I have at least one island on the route. How can I make sure the js is loaded even when I don't have island on the route.

I'm using <Script src='/app/client.ts' async /> in my _renderer.tsx file`
Was this page helpful?