@ -17,7 +17,8 @@ use yii\web\AssetBundle;
*/
class BootstrapAsset extends AssetBundle
{
public $sourcePath = '@bower/bootstrap';
public $css = [
'bootstrap/dist/css/bootstrap.css',
'dist/css/bootstrap.css',
];
}
@ -17,8 +17,9 @@ use yii\web\AssetBundle;
class BootstrapPluginAsset extends AssetBundle
public $js = [
'bootstrap/dist/js/bootstrap.js',
'dist/js/bootstrap.js',
public $depends = [
'yii\web\JqueryAsset',
class BootstrapThemeAsset extends AssetBundle
'bootstrap/dist/css/bootstrap-theme.css',
'dist/css/bootstrap-theme.css',
'yii\bootstrap\BootstrapAsset',