Sunday, April 16, 2017

Seven steps to build and deploy SPFX web part to SharePoint

  1. Install Node.JS
    Use this link to install Node.JS https://nodejs.org/en/

    2.       Install yeomen and gulp
    CMD>npm install –g yo gulp

    3.       Install SPFX generators
    CMD>npm install –g @microsoft/generator-sharepoint

    4.       Create First Web part
    CMD>yo @microsoft/sharepoint

    5.       Run and Test Project
    CMD>gulp trust-dev-cert
          CMD>gulp serve

    6.       Package and Deploy
           CMD>gulp package-solution

    7.       Install and Add on Page
    A.      Upload the *.sppkg file in app catalog
    B.       Add new App from site contents page
    C.      Keep app running in local
    D.      Create new page and Add App

No comments:

Post a Comment

Seven steps to build and deploy SPFX web part to SharePoint

Install Node.JS Use this link to install Node.JS https://nodejs.org/en/ 2.        Install yeomen and gulp CMD>npm install –g y...