mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
refactoring, work on environment
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
///<amd-module name="main" />
|
||||
|
||||
import RootWidget from "./widgets/root_widget";
|
||||
import env from "./env";
|
||||
import {makeEnvironment} from "./env";
|
||||
|
||||
document.addEventListener("DOMContentLoaded", async function() {
|
||||
const env = makeEnvironment();
|
||||
const rootWidget = new RootWidget(env);
|
||||
await rootWidget.mount(document.body);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user