AppAsset.php 560 B

123456789101112131415161718192021222324252627282930
  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';
  18. public $baseUrl = '@web';
  19. public $css = [
  20. 'css/site.min.css',
  21. ];
  22. public $js = [
  23. ];
  24. public $depends = [
  25. 'yii\bootstrap4\BootstrapAsset',
  26. ];
  27. }