콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1492 화면

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. 

아바타
취소
관련 게시물 답글 화면 활동
2
6월 24
1973
1
3월 23
3596
1
10월 20
3708
1
2월 20
6885
0
7월 19
3451