Skip to content
TypeScript
287 B
Raw Blame
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);