sailfork / t3code-github / .repos/ alchemy-effect/ examples/ cloudflare-foldkit-spa/ src/ entry.ts
import { Runtime } from "foldkit";
import { Message, Model, init, update, view } from "./main";
const application = Runtime.makeApplication({
Model,
init,
update,
view,
container: document.getElementById("root"),
devTools: {
Message,
},
});
Runtime.run(application);