Just started using Yii2 for a new project and was wondering if there’s any “best practice” example or similar on how to best use and structure Asset Bundles?
I’m using the basic template and created a folder called “components” and within a folder called “assets” and in there the folders “css” and “js”. My plan is to put my Widgets and other components into the “components” folder and if they require any assets I place them into the respective subfolders.
My Asset Bundles then basically string it all together for me.
Is that a sensible approach or should I do it differently?