AppAsset.php 615 B

1234567891011121314151617181920212223242526272829303132
  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. 'yii\web\JqueryAsset',
  27. 'yii\web\YiiAsset'
  28. ];
  29. }