6. Package your webpart
Use the bundle gulp task to build, localize, and bundle the project
Use the package-solution gulp task to package the project into a .sppkg file
The ship parameter build task creates a minified version of the bundle and
copies all of the web part assets
8. Deploy App to the SharePoint App Catalog
Hint => Create a specific view for checked out packages
9. Upload static assets
JSON source file
• Manifest for webpart
JS Files
• Minified version of your code
• Localized strings
Located in /temp/deploy folder
16. Update SPFx solution
No need to update app on sites => webparts are
automaticaly using the latest code
Attention! => Updating an app where SPFx v1.4 is
used, can break all webparts on the site.
=> v1.4.1 solves this problem
44. Enable the SharePoint CDN origin
Open the SharePoint Online Management Shell
Execute the following Powershell commands to enable the CDN, set
the CDN origin, and return the CDN Origin ID
52. SharePoint
Application
Lifecycle
Management
Add SharePoint Framework solution or SharePoint Add-in to tenant
app catalog.
Remove SharePoint Framework solution or SharePoint Add-in from
tenant app catalog.
Enable SharePoint Framework solution or SharePoint Add-in to be
available for installation in tenant app catalog.
Disable SharePoint Framework solution or SharePoint Add-in not to
be available for installation in tenant app catalog.
Install SharePoint Framework solution or SharePoint Add-in from
tenant app catalog to a site.
Upgrade SharePoint Framework solution or SharePoint Add-in to a
site, which has a newer version available in the tenant app catalog.
Uninstall SharePoint Framework solution or SharePoint Add-in from
the site.
List all and get details about SharePoint Framework solutions or
SharePoint Add-ins in the tenant app catalog.