sailfork / t3code-github / .repos/ alchemy-effect/ examples/ fly-website-foldkit/ src/ entry.ts

import "./styles/global.css";
import { Runtime } from "foldkit";
import { init, Model, update, view } from "./main.ts";

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

Runtime.run(application);