yii2-bootstrap5/src/BootstrapAsset.php

21 lines
297 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;
class BootstrapAsset extends AssetBundle
{
public $sourcePath = '@npm/bootstrap/dist';
public $css = [
'css/bootstrap.css',
];
public $js = [
'js/bootstrap.bundle.js',
];
}