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
npm i -g @microsoft/generator-sharepoint
cd helloworld-webpart
yo @microsoft/sharepoint

need to install gulp
npm I –g gulp

gulp serve
add webpart

open HelloWorldWebPart.ts with vs