Commit 4cd994a1 by Qiang Xue

using external bootstrap assets.

parent 71268c9e
......@@ -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 $sourcePath = '@yii/bootstrap/assets';
public $sourcePath = '@vendor/twitter/bootstrap/dist';
public $js = [
'js/bootstrap.js',
];
......
......@@ -17,7 +17,7 @@ use yii\web\AssetBundle;
*/
class BootstrapThemeAsset extends AssetBundle
{
public $sourcePath = '@yii/bootstrap/assets';
public $sourcePath = '@vendor/twitter/bootstrap/dist';
public $css = [
'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\\": "" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment