@ -15,7 +15,7 @@ use yii\web\AssetBundle;
*/
class BootstrapAsset extends AssetBundle
{
public $sourcePath = '@yii/bootstrap/assets';
public $sourcePath = '@vendor/twitter/bootstrap/dist';
public $css = [
'css/bootstrap.css',
];
@ -16,7 +16,7 @@ use yii\web\AssetBundle;
class BootstrapPluginAsset extends AssetBundle
public $js = [
'js/bootstrap.js',
@ -17,7 +17,7 @@ use yii\web\AssetBundle;
class BootstrapThemeAsset extends AssetBundle
'css/bootstrap-theme.css',
@ -13,7 +13,8 @@
},
"minimum-stability": "dev",
"require": {
"yiisoft/yii2": "*"
"yiisoft/yii2": "*",
"twitter/bootstrap": "3.0.*"
"autoload": {
"psr-0": { "yii\\bootstrap\\": "" }