您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BootstrapThemeAsset.php 568B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\bootstrap;
  8. use yii\web\AssetBundle;
  9. /**
  10. * Asset bundle for the Twitter bootstrap default theme.
  11. *
  12. * @author Alexander Makarov <sam@rmcreative.ru>
  13. * @since 2.0
  14. */
  15. class BootstrapThemeAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@bower/bootstrap/dist';
  18. public $css = [
  19. 'css/bootstrap-theme.css',
  20. ];
  21. public $depends = [
  22. 'yii\bootstrap\BootstrapAsset',
  23. ];
  24. }