Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1212 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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. 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
cze 24
1556
1
mar 23
3204
1
paź 20
3366
1
lut 20
6543
0
lip 19
3127