From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install a generator globally and generate an app

Install a generator globally and generate an app

From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain

Start my 1-month free trial

Install a generator globally and generate an app

- [Instructor] Now Node.js based products can be used to write a number of different kinds of applications. Mobile apps, desktop apps, web applications or more. So one of the things that they allow you to write is desktop apps and they do so using a concept called as Electron. Visual Studio Code that we've been using is an Electron application. So you might imagine that writing something like that would be complicated but these generators make things very easy for us, let's see how. First you need to install the generator for Electron. So I simply say npm install -g for global, generator-electron. This is installing the electron generator at the global level. Let's wait for this installation to finish. Now once you have installed this generator, this means that right from terminal I should be able to say yo electron or you can just hit yo and hit Enter and it'll ask you to run a generator. Now I have Electron installed so I'll choose Electron, hit Enter, it tells you that you can run…

Contents