İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1796 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Nis 24
1390
2
Şub 25
1277
0
Ağu 23
1879
2
Şub 23
6218
2
Mar 24
7248