2021-08-03 16:26:03 +08:00
|
|
|
Migrating from yii2-bootstrap4
|
|
|
|
==============================
|
2021-07-09 17:53:24 +08:00
|
|
|
|
|
|
|
yii2-bootstrap5 is a major rewrite of the entire project (according Bootstrap 5 to Bootstrap 4 migration guide).
|
|
|
|
The most notable changes are summarized below:
|
|
|
|
|
|
|
|
## General
|
|
|
|
|
|
|
|
* The namespace is `yii\bootstrap5` instead of `yii\bootstrap4`
|
|
|
|
|
|
|
|
## Widgets / Classes
|
|
|
|
|
|
|
|
### BaseHtml
|
|
|
|
|
|
|
|
### ActiveField
|
|
|
|
|
|
|
|
### ActiveForm
|
|
|
|
|
|
|
|
### Breadcrumbs
|
|
|
|
|
|
|
|
### ButtonDropdown
|
|
|
|
|
|
|
|
### ButtonToolbar
|
|
|
|
|
|
|
|
### Carousel
|
|
|
|
|
|
|
|
### LinkPager
|
|
|
|
|
|
|
|
### Modal
|
|
|
|
|
|
|
|
### Nav
|
|
|
|
|
|
|
|
### NavBar
|
|
|
|
|
|
|
|
### Tabs
|
|
|
|
|
|
|
|
### ToggleButtonGroup
|