yii2mod / yii2-ion-slider

Easily customizable range slider with skins support.
MIT License
22 stars 13 forks source link

...does not exist: ...vendor/bower/ion.rangeSlider #5

Closed aleksanderd closed 8 years ago

aleksanderd commented 8 years ago

Hi!

After some updates I got The file or directory to be published does not exist: /<projectDir>/vendor/bower/ion.rangeSlider

I just updated my project to latest fxp/etc (I don't sure what concrete made the fail) and the directory named in lower case (ion.rangeslider).

For now I just created a symlink(ion.rangeslider => ion.rangeSlider) to solve the problem. But may be there is a more correct way to fix it? May be here ?

thnx

ihorchepurnyi commented 8 years ago

Hi, to change the path to bower folder for this plugin, you can configure the assetManager array in your application configuration:

'assetManager' => [
            'bundles' => [
                'yii2mod\slider\IonSliderAsset' => [
                    'sourcePath' => '@bower/ion.rangeslider'
                ],
            ]
        ],