In Advanced Template I need to have Bootstrap 3 for backend and Bootstrap 5 for frontend.
How to correctly install and configure to make it work?
When installing BS5 I get an error:
Problem 1
- Root composer.json requires yiisoft/yii2-bootstrap dev-master -> satisfiable by yiisoft/yii2-bootstrap[dev-master].
- yiisoft/yii2-bootstrap5[dev-master, 2.0.1, ..., 2.0.x-dev] require bower-asset/bootstrap ^5.1.0 -> satisfiable by bower-asset/bootstrap[v5.1.0, ..., v5.2.0-beta1].
- Conclusion: don't install bower-asset/bootstrap v5.2.0-beta1 (conflict analysis result)
- yiisoft/yii2-bootstrap5 2.0.x-dev is an alias of yiisoft/yii2-bootstrap5 dev-master and thus requires it to be installed too.
- Root composer.json requires yiisoft/yii2-bootstrap5 * -> satisfiable by yiisoft/yii2-bootstrap5[dev-master, 2.0.1, 2.0.2, 2.0.3, 2.0.x-dev (alias of dev-master)].