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

FullcalendarAsset.php 637B

12345678910111213141516171819202122232425
  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 common\components\fullcalendar;
  8. use yii\web\AssetBundle;
  9. /**
  10. * @author Qiang Xue <qiang.xue@gmail.com>
  11. * @since 2.0
  12. */
  13. class FullcalendarAsset extends AssetBundle
  14. {
  15. public $sourcePath = '@common/components/fullcalendar/assets';
  16. public $css = ['fullcalendar.css','fullcalendar.print.css'];
  17. public $js = ['jquery-ui.custom.min.js','moment.min.js','fullcalendar.min.js','lang/all.js'];
  18. public $depends = [
  19. 'yii\web\YiiAsset',
  20. 'yii\bootstrap5\BootstrapAsset',
  21. ];
  22. }