Friday, October 21, 2016

SharePoint Framework Install



go to directory in command line
node –v
npm –v
update npm
npm install --global npm@latest
3.10.8 to 3.10.0
Install git
Install yeoman
use the node command prompt
npm install --global yo
yo version
 
https://dev.office.com/sharepoint/docs/spfx/set-up-your-development-environment
 
npm i -g @microsoft/generator-sharepoint
 
 
https://dev.office.com/sharepoint/docs/spfx/web-parts/get-started/build-a-hello-world-web-part
 
cd helloworld-webpart
yo @microsoft/sharepoint

need to install gulp
npm I –g gulp

gulp serve
add webpart

open HelloWorldWebPart.ts with vs