The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist yii2-extensions/asset-bootstrap5:"^0.1"
or add
"yii2-extensions/asset-bootstrap5":"^0.1"
to the require section of your composer.json
file.
<?php
declare(strict_types=1);
use Yii2\Asset\BootstrapAsset;
BootstrapAsset::register($this);
<?php
declare(strict_types=1);
use Yii2\Asset\BootstrapPluginAsset;
BootstrapPluginAsset::register($this);
<?php
declare(strict_types=1);
use Yii2\Asset\BootstrapCdnAsset;
BootstrapCdnAsset::register($this);
<?php
declare(strict_types=1);
use Yii2\Asset\BootstrapPluginCdnAsset;
BootstrapPluginCdnAsset::register($this);
Check the documentation testing to learn about testing.
The MIT License. Please see License File for more information.