How To Setup SharePoint Framework With Node.js For Windows-SPFx

Step 1

Download and install NodeJS.

I’m using Node.js as with JS framework you can use any JS framework; you are comfortable with. 

 

Step 2

Download and install VS Code Setup.

I’m using Visual Studio editor to write my code, as I already have Visual Studio installed in my machine. You can use other code editors, i.e. Atom, Webstorm.

 

Step 3

Install @Yoman, using PowerShell.

Yoman – It Is a template Manager for the templates.

Command: npm install -g yo gulp.

Step 4

Install SharePoint Framework which is a specific tool, using PowerShell.

Command: npm install –g @microsoft/generator-sharepoint

Now, you are ready to develop your SharePoint app, using SPFx.

Reference

  • https://github.com/SharePoint/sp-dev-docs/blob/master/docs/spfx/set-up-your-development-environment.md
  • https://www.youtube.com/watch?v=_fxYexlUhe0&t=5s&list=PLR9nK3mnD-OXvSWvS2zglCzz4iplhVrKq