mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
imp: add some empty boilerplate to the empty sample
This commit is contained in:
+8
-1
@@ -374,7 +374,14 @@ const STATE_MANAGEMENT_CSS = `.action {
|
||||
}
|
||||
`;
|
||||
|
||||
const EMPTY = ``;
|
||||
const EMPTY = `const {Component, QWeb} = owl.core;
|
||||
class Widget extends Component {
|
||||
}
|
||||
|
||||
const qweb = new QWeb(TEMPLATES);
|
||||
const widget = new Widget({qweb});
|
||||
widget.mount(document.body);
|
||||
`;
|
||||
|
||||
export const SAMPLES = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user