AppAsset.php 630 B

12345678910111213141516171819202122232425262728293031
  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 app\assets;
  8. use yii\web\AssetBundle;
  9. /**
  10. * Main application asset bundle.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class AppAsset extends AssetBundle
  16. {
  17. public $basePath = '@webroot'.'/web/';
  18. public $baseUrl = '@web'.'/web/';
  19. public $css = [
  20. 'css/site.css',
  21. ];
  22. public $js = [
  23. ];
  24. public $depends = [
  25. 'yii\web\YiiAsset',
  26. 'yii\bootstrap\BootstrapAsset',
  27. ];
  28. }