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

the JS itself is being logged but the class is not being logged

الصورة الرمزية
إهمال
أفضل إجابة

Hello, Please declare the asset key in the module's manifest file.

Example:

'assets': {
'web.assets_backend': [
'module_name/static/src/js/my_module.js'
]
}

Replace module_name with the name of your module and js_name_module with the name of your JavaScript module.

Don't forget to restart the server after making the changes.

الصورة الرمزية
إهمال
الكاتب

oh sorry it seems I forgot to put it that I already have it as you have stated but like I said the js itself was logged however the class wasn't

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 24
1335
2
فبراير 25
1202
0
أغسطس 23
1817
2
فبراير 23
6101
2
مارس 24
7183