clevertech / YiiBooster

YiiBooster
BSD 2-Clause "Simplified" License
544 stars 306 forks source link

Asset folder destination must be configurable #1034

Open fazliddin opened 8 years ago

fazliddin commented 8 years ago

Day by day using yiibooster is becoming risky. Because everyday there is new js & css versions, but team is not updating assets. For example, i am using latest bootstrap and jquery and booster's widget's old asset are not working with latest assets.

Please, consider adding assetAlias property to Booster class.

fazliddin commented 8 years ago

It turns out path of asset is not configurable. Developers must be able to indicate custom asset folder with updated js and css. For example, redaktor is not working because language js file is not available for current app language. To fix it I need add my language js file to asset folder

hijarian commented 8 years ago

You should know that the original design decision was that we will discourage using external assets at all. Everything YiiBooster uses comes with it. This is the only way to be sure that all widgets are compatible together and there'll be no problems because of dependency hell.