550eac02
Administrator
second
|
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',
|
c0bb48b5
Виталий
Веталь
|
22
|
'http://fonts.googleapis.com/css?family=Roboto',
|
550eac02
Administrator
second
|
23
24
25
26
|
];
public $js = [
];
public $depends = [
|
3395c04b
Administrator
image size
|
27
28
29
|
'yii\web\JqueryAsset',
'sersid\owlcarousel\Asset'
//'yii\web\YiiAsset',
|
550eac02
Administrator
second
|
30
31
32
33
|
//'yii\bootstrap\BootstrapAsset',
];
public function init() {
|
3a8a9bd9
Administrator
image size
|
34
|
$this->jsOptions['position'] = View::POS_END;
|
550eac02
Administrator
second
|
35
36
37
|
parent::init();
}
}
|