更新说明

This commit is contained in:
Chenx221 2024-03-28 17:12:16 +08:00
parent accbe1ab65
commit 114e18ca0c

View File

@ -2,7 +2,7 @@
<a href="https://getbootstrap.com/" target="_blank" rel="external"> <a href="https://getbootstrap.com/" target="_blank" rel="external">
<img src="https://getbootstrap.com/docs/5.0/assets/brand/bootstrap-logo.svg" height="80px"> <img src="https://getbootstrap.com/docs/5.0/assets/brand/bootstrap-logo.svg" height="80px">
</a> </a>
<h1 align="center">Twitter Bootstrap 5 Extension for Yii 2</h1> <h1 align="center">Twitter Bootstrap 5 Extension for Yii 2 (Mod)</h1>
<br> <br>
</p> </p>
@ -14,29 +14,42 @@ For license information check the [LICENSE](LICENSE.md)-file.
Documentation is at [docs/guide/README.md](docs/guide/README.md). Documentation is at [docs/guide/README.md](docs/guide/README.md).
[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-bootstrap5/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-bootstrap5) 修改说明
[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-bootstrap5/downloads.png)](https://packagist.org/packages/yiisoft/yii2-bootstrap5) ------------
[![Build Status](https://github.com/yiisoft/yii2-bootstrap5/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-bootstrap5/actions)
由于原yiisoft/yii2-bootstrap5需要bower-asset/bootstrap
Installation 而[asset-packagist](https://asset-packagist.org/package/bower-asset/bootstrap)上意外缺失了bower-asset/bootstrap最新版本(5.3.x)
现在手动在composer.json添加bower-asset/bootstrap 5.3.x版本会出现错误
我的项目需要使用bootstrap 5.3新增加的夜间模式,
所以我将原包修改了一下将依赖的bower-asset/bootstrap改为npm-asset/bootstrap
安装
------------ ------------
The preferred way to install this extension is through [composer](https://getcomposer.org/download/). The preferred way to install this extension is through [composer](https://getcomposer.org/download/).
Either run add
``` ```
php composer.phar require --prefer-dist yiisoft/yii2-bootstrap5 {
"type": "vcs",
"url": "https://git.chenx221.cyou/chenx221/yii2-bootstrap5"
}
``` ```
or add to the repositories section of your `composer.json` file,
and add
``` ```
"yiisoft/yii2-bootstrap5": "*" "chenx221/yii2-bootstrap5": "dev-master"
``` ```
to the require section of your `composer.json` file. to the require section of your `composer.json` file,
Translations Translations
---- ----