Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1446 Переглядів

I I'm just learning about odoo, I get a blank web after defining a simple dashboard that only contains h1, here is the javascript:

import { registry } from "@web/core/registry";

const actionRegistry = registry.category("actions");

class LibraryDashboard extends owl.Component{ 

setup(){ }};

LibraryDashboard.template = LibraryDashboard;

actionRegistry.add('library_dashboard_tag', LibraryDashboard);


I already ensure that js and the template on manifest file

Аватар
Відмінити
Найкраща відповідь

Make a right click on the mouse and open the inspect, then check the console tab to identify the Javascript related issue in the browser. 

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
черв. 24
1884
1
бер. 23
3517
1
жовт. 20
3648
1
лют. 20
6824
0
лип. 19
3391