Open mahmoudIsProgramer opened 2 years ago
tag
That is not straight forward and directly possible at the moment. One Simple solution will be
public/index.php
$js
and $css
arrays into extended class$js
and $css
layout/main.php
and render them.@mahmoudIsProgramer Let me know if this helps.
Hello thecodeholic , thanks a lot for the the great course and the lovely educational materials . in layouts/main.php there exist {{content}} and as i understood it's to replace the content of view , how can i make similar to this but for js files , i want to load js file in my view without putting it in layouts/main.php beofr