Skip to Content
Menú
This question has been flagged
1 Respondre
1243 Vistes

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

Avatar
Descartar
Best Answer

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. 

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de juny 24
1614
1
de març 23
3255
1
d’oct. 20
3421
1
de febr. 20
6601
0
de jul. 19
3177