Example link bootstrap :
add this link in html header so you can use it in the project :
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" />
Example of provider of CDNs : https://www.jsdelivr.com/
I want to export a component like that using next.js or react.js .
Is there any config that could help to do that like babel or webpack and thank you .