mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
rename demo example into benchmarks
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { App } from "./app.js";
|
||||
|
||||
function createApp(el) {
|
||||
const env = {
|
||||
qweb: new odoo.core.QWeb()
|
||||
};
|
||||
const app = new App(env, { initialState: 13 });
|
||||
app.mount(el);
|
||||
}
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
createApp(document.body);
|
||||
});
|
||||
Reference in New Issue
Block a user