Skip to main content

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

Comments

Popular posts from this blog

Query SharePoint List - SPQuery vs SPSiteDataQuery vs CrossListQueryInfo

There are three different classes you can use to query SharePoint list:-
1.SPQuery
Used for query a data from a specific list and also used for join two lists.
Use full Links:-
·http://sharepointfordeveloper.blogspot.in/2011/10/step-by-step-spquery-list-joins.html#!/2011/10/step-by-step-spquery-list-joins.html
·http://mysharepointwork.blogspot.in/2010/04/spquery-examples.html

2.SPSiteDataQuery