Yeoman


Install Yeoman

open the command prompt

npm install -g yo 

installs to the following location:

C:\users\russell\AppData\Roaming\npm\node_modules\yo 

Install the 'office' Generator

npmjs.com/package/generator-office

npm install -g generator-office 

installs to the following location:

C:\users\russell\AppData\Roaming\npm\node_modules\generator-office 

Browse to your local folder

cd C:\temp\yeoman-sample\ 

The welcome screen will be displayed.
It will prompt you for the following information:
SS
choose a project type: Add-in using React
name: ExcelYoSample
client application: Excel


This will create all the files and folders that are required
(C:\temp\yeoman-sample\)


type "code ." code space full stop, to launch VS Code


C:\code\office\yeoman > nodist 4.4.4 
C:\code\office\yeoman > git --version
C:\code\office\yeoman > npm -v
C:\code\office\yeoman > npm install -g bower
C:\code\office\yeoman > npm install -g gulp
C:\code\office\yeoman > npm install -g tsd

C:\code\office\yeoman > gulp serve



© 2018 Better Solutions Limited. All Rights Reserved. © 2018 Better Solutions Limited TopPrev