How to use bootstrap cdn with reactjs

To use bootstrap CDN with react js you need to add bootstrap cdn in index.css file in react app

Example

@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css");

That's it ,Now you are ready to use bootstrap classes with react components

Thank you

About Author

Photo

Hi, I am Mahbub Hasan
Software Engineer

I am very much interested to share my programming
and development knowledge with the people.I will try
to update my blog everyday with new technology inshallah.

Thank You

For Visiting My Blog.

Contact Me