Files
owl/web/static/src/ts/main.ts
T
2019-01-24 10:33:11 +01:00

11 lines
310 B
TypeScript

///<amd-module name="main" />
import { RootWidget } from "./widgets/root_widget";
import { makeEnvironment } from "./env";
document.addEventListener("DOMContentLoaded", async function() {
const env = makeEnvironment();
const rootWidget = new RootWidget(env);
await rootWidget.mount(document.body);
});