This code works:Hi. I don't know why this does not work for you. Perhaps you are doing something wrong.This doesn't work, if I use the above command, my page ends up void of css (also, I use the code from Cassiopeia template and they don't seem to use that command anywhere).
Also, it doesn't answer my original question.
Code:
$wa->useStyle('mystyle')->registerAndUseScript('myscript');
Code:
$wa->registerAndUseStyle('mystyle')->registerAndUseScript('myscript');
Statistics: Posted by SocketPup — Thu May 16, 2024 3:36 am