Client Side JS

Use when a val needs to ship JavaScript that runs in the browser — React apps, vanilla DOM scripts, canvas/games, htmx/Alpine, or any client-side module beyond a single inline snippet. Explains how Val Town serves transpiled .ts/.tsx/.jsx modules with no build step, how the browser resolves their imports, and how to load third-party deps.

val-town a79dccc 5.2 KB Updated

File contents

val-town/plugins/tree/main/plugin/skills/client-side-js commit a79dccc557

Frequently asked questions

npx skillmds add val-town/client-side-js