From the course: SharePoint Framework for Developers: 4 Managing External Libraries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Integrate bootstrap in SPFx

Integrate bootstrap in SPFx

From the course: SharePoint Framework for Developers: 4 Managing External Libraries

Start my 1-month free trial

Integrate bootstrap in SPFx

- [Instructor] Now, I just showed you how you can use SPComponentLoader to download JavaScript files programmatically from CDNs. Did you know the same approach can also be used for CSS? For instance, one of the very popular libraries for UI purposes is Bootstrap. Bootstrap gives you responsive UI, right out of the box, comes with a number of beautiful themes. It is a very popular library. Now again, I'm not going to go into the virtues of Bootstrap or Bootstrap versus Angular Material, et cetera. Let's leave that for another day. Let's just say, for some reason, you wish to include Bootstrap in your SPFx web parts. Now, you may be asking, why not Office UI Fabric? Well, Office UI Fabric is fine. I think it's just, at this time, a little incomplete and a little opinionated when it comes to, you know, it's opinionated or dependence on React. Let's say if you're not using React and you have some good Bootstrap skills in your team, and you want to use it. Why shouldn't you? Let's see how.…

Contents