Enhance the setLayout() method to optionally accept an array of assets (e.g., CSS or JS files) that can be registered and rendered within the layout file. Once registered then assets('css') or assets('js') functions will dynamically include them in layout.
Enhance the
setLayout()
method to optionally accept an array of assets (e.g., CSS or JS files) that can be registered and rendered within the layout file. Once registered then assets('css') or assets('js') functions will dynamically include them in layout.