Use Bootstraps tooltip

I want to use the Bootstrap tooltip. I have set up a Yii2 application with the yii2-bootstrap5 plugin/module, which currently have Bootstrap 5.3.2 installed.

When I try to use the tooltip for links, it does not work:

<p>Placeholder text to demonstrate some <a href="#" data-bs-toggle="tooltip" data-bs-title="Default tooltip">inline links</a> with tooltips.</p>

It seems like the yii2-bootstrap5 module requires to add this BootstrapWidgetTrait, but that means it will only be available when you have any widget activated?

I hope anyone have got Bootstrap 5 tooltip to work, and could give me some directions.

Assets are registered either when you use a widget or when you register these manually. I guess you need to register https://github.com/yiisoft/yii2-bootstrap/blob/master/src/BootstrapPluginAsset.php and/or https://github.com/yiisoft/yii2-bootstrap/blob/master/src/BootstrapAsset.php