Thursday, November 10, 2016

How to add a new web part to the existing sharepoint page framewrok project?

it is a straight forward task to add new web part to the current working project.


first, launch the CMD window, and go to your current working project folder.



second. run yo @microsoft/sharepoint and create a new second web part, named secondWebPart.



third run gulp serve to launch the workbench page and clicked the plus sign to add new web part the page. the secondApp web part is shown next to the httpsApp web part.













so we can have multiple web parts under one project.









No comments:

Post a Comment