コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1317 ビュー

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
1705
1
3月 23
3350
1
10月 20
3500
1
2月 20
6692
0
7月 19
3242