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 Yeoman and gulp
From the course: SharePoint Framework for Developers: 1 Understanding the Toolchain
Install Yeoman and gulp
- [Instructor] With Node.js, Yarn, and NPM installed, you need to install two more packages globally. Now I don't like to install things globally because, you know, you want to keep your global space clean. However, currently it is just easier, with SharePoint Framework to install these packages globally. Certainly, Yeoman is a package that it prefers to be installed globally. So let's go ahead and install Yeoman globally. npm install -g yo So if I hit enter now, it'll install Yeoman globally but there is one other thing you need to install globally and that is Gulp. Gulp is a task runner. I'll just hit enter and wait for this to finish. So typically, in a more complicated project template, like SharePoint Framework, you would have a number of tasks run when you want to say build the application or ship the application, et cetera. Gulp is a task runner that helps you automate all of these steps. Now my personal preference is to not install Gulp globally. What if you've got two…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Set up your Office 365 tenancy4m 21s
-
(Locked)
Install Node.js, Yarn, and npm2m 6s
-
(Locked)
Install Yeoman and gulp1m 37s
-
(Locked)
Install Visual Studio Code1m 18s
-
(Locked)
Install SPFx Yeoman generator locally3m 21s
-
(Locked)
Install SPFx Yeoman generator globally2m 26s
-
(Locked)
Use Yarn to install project dependencies with SFPx3m 20s
-
(Locked)
-