Package and Deploy SharePoint Client Side Webpart to SharePoint

.sppkg gulp help error package
Here we are going to deploy SharePoint Client side Web-Part to SharePoint.

How to create the package ?

after the successful creation of the web-part in the local environment have to deploy it to SharePoint. To  create the package run the following command 
                                                      gulp package-solution     
It will create a package with the extension .sppkg  in side the folder è
   webpart-Name/sharepoint/solution/    


How to deploy the package to SharePoint ?

Just drag and drop the webpart-Name.sppkg to 

https://yourSiteName.sharepoint.com/sites/AppCatalog/ 

Or You could upload the package by clicking the upload button on the page



Comments

Popular posts from this blog

How to Use Bootstrap in SPFX (SharePoint Framework)

How to setup for SharePoint Frame Work Development Environment (SPFx)