mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
11 lines
310 B
TypeScript
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);
|
|
});
|