From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Demonstrate automatic client-side asset deployment
From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle
Demonstrate automatic client-side asset deployment
- [Instructor] Now we just went through the process of being able to leverage a CDN. In this case, the URL happened to be the same as the public CDN, but the steps are the same no matter what CDN you use. But the important distinction is that I control the URL of the CDN network, and I had to specify that in my CDN base path. While that gives me more control, it also means that I have to go through a number of steps. I had to go and upload files in the CDNDocs document library, my CDN endpoint. If I forgot to do that, or if I uploaded the wrong file, it just wouldn't work. There is an easier way. And that's called as automatic client-side assets deploying. So let's go into write-manifest.json and revert the cdnBasePath back to this common path to CDN. This is the default value. Also, go to package-solution.json, and verify that you have includeClientSideAssets set to true. This is the default value too. This is preferable because this just makes things a whole lot easier. So if you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Introduction: Office 365 CDN2m 21s
-
(Locked)
Set up a document library to act as a CDN1m 50s
-
(Locked)
Manage the Office 365 CDN using PowerShell6m 44s
-
(Locked)
Manage the Office 365 CDN using Office 365 CLI4m 49s
-
(Locked)
Demonstrate the Office 365 CDN with a text file3m 56s
-
(Locked)
Demonstrate the usage of a CDN with spfxwebpart6m 56s
-
(Locked)
Uninstall an SPFx solution2m 37s
-
(Locked)
Demonstrate automatic client-side asset deployment5m 29s
-
-
-
-
-