Installation bootstrap 5 - wrong css bind from web/assets

Hello,

i installed the yii-bootstrap5 extension, but my yii-Application always bind the bootstrap4.css File from the wrong /web/assets folder.

I have already two different folders in web/assets (like c347589 or 47c8895) but the Application always bind the wrong when i called the website.

I have cleared the Yii-Application cash with Yii::$app->cache->flush()

And now the Application binding first the Bootstrap5-Stylesheet and second the Bootstrap4-Stylesheet like

<link href="/basic/web/assets/e6da07ad/css/bootstrap.css" rel="stylesheet">
<link href="/basic/web/css/site.css" rel="stylesheet">
<link href="/basic/web/css/fontawesome/css/all.css" rel="stylesheet">
<link href="/basic/web/assets/35517640/css/bootstrap.css" rel="stylesheet"><

Is further configuration necessary?

Thanks for answers…

SH

Have you set correct namespace e.g. use yii\bootstrap5\ButtonDropdown; and appAssets ?

Check out examples e.g.

or provide code how did your setup the view.

Many Thanks. I was able to solve my problem. A few details in the configuration (web.php) were necessary.