sofie-cli 0.2.0

The `sofie` command: gen, check and the tools reading the app model.
Documentation
1
2
3
4
5
6
7
8
9
10
import { mount } from "svelte";

import { Runtime } from "../core/index.js";
import App from "./App.svelte";

export function start(screens) {
  const runtime = new Runtime(screens, () => {});
  runtime.start();
  mount(App, { target: document.getElementById("sofie-app"), props: { runtime } });
}