تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1298 أدوات العرض

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
يونيو 24
1678
1
مارس 23
3327
1
أكتوبر 20
3491
1
فبراير 20
6675
0
يوليو 19
3212