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.

Download libraries programatically and conditionally

Download libraries programatically and conditionally

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

Start my 1-month free trial

Download libraries programatically and conditionally

- [Instructor] Now I just talked about some shortcomings of the out-of-the-box way of bundling your solutions. And it's a shortcoming but I wouldn't call it a downside because certainly, one big advantage of doing it this way is that it's not a lot of work for me to include jquery inside of my webpart. Yeah, there are some downsides. But if I want more control, the important thing is that it lets you get started quickly. When you need more control, you can get more control. And that's really the emphasis of what I'm about to show. So over here, what I did is that I took again the ending code from 204, unzipped it, and I have placed it in this folder and have run an npm install. Let me show you the files I have. Just make sure you have the node_modules folder present because when you run yarn installer npm install, that is when you get the node_modules folder. Let's go ahead and open this in VS Code. And now we're going to make some minor changes to this code. What changes are we about…

Contents