How to use bootstrap5 with vue3

I want to use bootstrap5 with vue3. I’ve imported bootstrap5 in main.js and css is wordked fine but js is not working.

    import 'bootstrap/dist/css/bootstrap.rtl.min.css';
    import 'bootstrap/dist/js/bootstrap.min.js';