| 1 | import './app.css' |
| 2 | import App from './App.svelte' |
| 3 | import type { SessionData } from './lib/dataTypes' |
| 4 | import Session from './lib/model/Session' |
| 5 | |
| 6 | export default { |
| 7 | render(element: HTMLElement, data: SessionData) { |
| 8 | const session = new Session(data) |
| 9 | |
| 10 | return new App({ |
| 11 | target: element, |
| 12 | props: { session }, |
| 13 | }) |
| 14 | } |
| 15 | } |