softberg / quantum-php-core

Quantum PHP Framework
http://quantumphp.io
MIT License
31 stars 13 forks source link

Implement Asset Registration at Layout Rendering #152

Closed armanist closed 2 months ago

armanist commented 2 months ago

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.