Yeoman Generator

The Yeoman Generator is an open source client side scaffolding tool for creating web applications:
link - https://yeoman.io/generators/



Install Yeoman

open the command prompt
Install the Yeoman generator globally

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 a new local folder

cd C:\temp\yeoman-sample\ 
yo Office

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


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext