Skip to content
TypeScript
258 B
Raw Blame
import { Runtime } from "foldkit";
import { init, Message, Model, update, view } from "./main.ts";

const application = Runtime.makeApplication({
  Model,
  init,
  update,
  view,
  container: document.getElementById("root"),
});

Runtime.run(application);