yii2-bootstrap5/src/BootstrapPluginAsset.php

24 lines
423 B
PHP
Raw Normal View History

2021-02-10 05:04:59 +08:00
<?php
declare(strict_types=1);
namespace yii\bootstrap5;
use yii\web\AssetBundle;
/**
* Asset bundle for the Twitter bootstrap javascript files.
*
* @author Qiang Xue <qiang.xue@gmail.com>
*/
class BootstrapPluginAsset extends AssetBundle
{
public $sourcePath = '@bower/bootstrap/dist';
2021-02-10 05:04:59 +08:00
public $js = [
'js/bootstrap.bundle.js',
];
public $depends = [
BootstrapAsset::class,
];
}