GiiAsset.php 669B

123456789101112131415161718192021222324252627282930313233
  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\gii;
  8. use yii\web\AssetBundle;
  9. /**
  10. * This declares the asset files required by Gii.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class GiiAsset extends AssetBundle
  16. {
  17. public $sourcePath = '@yii/gii/assets';
  18. public $css = [
  19. 'main.css',
  20. ];
  21. public $js = [
  22. 'gii.js',
  23. ];
  24. public $depends = [
  25. 'yii\web\YiiAsset',
  26. 'yii\bootstrap\BootstrapAsset',
  27. 'yii\bootstrap\BootstrapPluginAsset',
  28. 'yii\gii\TypeAheadAsset',
  29. ];
  30. }