Blame view

frontend/assets/AppAsset.php 609 Bytes
c7f222e2   Artem   first
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?php
  /**
   * @link http://www.yiiframework.com/
   * @copyright Copyright (c) 2008 Yii Software LLC
   * @license http://www.yiiframework.com/license/
   */
  
  namespace frontend\assets;
  
  use yii\web\AssetBundle;
  use \yii\web\View;
  /**
   * @author Qiang Xue <qiang.xue@gmail.com>
   * @since 2.0
   */
  class AppAsset extends AssetBundle
  {
      public $basePath = '@webroot';
      public $baseUrl = '@web';
      public $css = [
          'css/style.css',
c7f222e2   Artem   first
22
23
24
      ];
      public $js = [
          'js/main.js',
c7f222e2   Artem   first
25
26
27
28
      ];
      public $depends = [
  
        'yii\web\YiiAsset',
c7f222e2   Artem   first
29
30
31
      ];
      public $jsOptions = [ 'position' => View::POS_HEAD ];
  }