<F3:include href="blocks/calendar.html"/>
Have I done something wrong, i modified the assets class and added the below code to fix it :
Old :
return sprintf('<script src="%s"></script>',$path.$mtime);
New :
return sprintf('<script src="%s"></script>',$f3->get('BASE').'/'.$path.$mtime);
$f3->config('assets.ini');
<asset src="dsfaadsg.js" />
$script = "$('#myModal').on('shown.bs.modal', function () { $('#myInput').focus() })";
$js = \Assets::instance();
$js->addInline($script, 'js');
2. Initialize the asset manager with a simple \Assets::instance();
call in your index.php file or controller.
usually this should be enought to make the <asset> tags working. Clear the contents of your tmp/ dir to force a regeneration of the templates.
I used the F3 minifyer for minification. That only cares about removing whitespace and not about adding proper closing semicolons. Try to add those in your scripts: