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