Browse Source

new asset WIP

tags/2.0.0-rc
Qiang Xue 10 years ago
parent
commit
e93174f3d2
  1. 3
      BootstrapAsset.php
  2. 3
      BootstrapPluginAsset.php
  3. 3
      BootstrapThemeAsset.php

3
BootstrapAsset.php

@ -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',
];
}

3
BootstrapPluginAsset.php

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

3
BootstrapThemeAsset.php

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

Loading…
Cancel
Save