luceos Davis, like I said, the JS is added. Only the LESS file is not. Yeah, using the compile.sh was just an act of, let's say, desperation. It didn't make sense to me either but, well, coding involves magic and luck sometimes (not this time ?).
Anyway, this is how I add them:
$events->listen(ConfigureClientView::class, function (ConfigureClientView $event) {
if ($event->isForum()) {
$event->addAssets(
__DIR__.'/../../js/forum/dist/extension.js',
__DIR__.'/../../less/forum/extension.less'
);
$event->addBootstrapper('alexbnc/customtabs/main');
}
});
I delete the .css file in the public/assets folder, it is regenerated but none of my extension's properties are added