Seven steps to build and deploy SPFX web part to SharePoint

  1. Install Node.JS

Use this link to install Node.JS

  1. Install yeomen and gulp

CMD>npm install –g yo gulp

  1. Install SPFX generators

CMD>npm install –g @microsoft/generator-sharepoint

  1. Create First Web part

CMD>yo @microsoft/sharepoint

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

CMD>gulp serve

  1. Package and Deploy

CMD>gulp package-solution

  1. Install and Add on Page
    1. Upload the *.sppkg file in app catalog
    2. Add new App from site contents page
    3. Keep app running in local
    4. Create new page and Add App



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s