2amigos / yii2-date-picker-widget

Bootstrap DatePicker Widget for Yii2
https://2amigos.us
Other
130 stars 77 forks source link

Js and Css defined in the init function don't play well with yii asset command line #17

Closed germanliu closed 8 years ago

germanliu commented 9 years ago

DatePickerAsset.php defines css and js properties in the init function. Is there any reason for this?

When compressing and minifying those files with yii asset assets.php config/assets-prod.php (http://www.yiiframework.com/doc-2.0/guide-structure-assets.html) the widget still tries to publish them and gets an 404 error.

tonydspaniard commented 8 years ago

you are right @germanliu , do you have time for a PR? anybody?