From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle

Unlock the full course today

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

Write a simple SPFx web part

Write a simple SPFx web part

From the course: SharePoint Framework for Developers: 3 Deployment, Upgrades, and Lifecycle

Start my 1-month free trial

Write a simple SPFx web part

- [Instructor] Now since the focus of this course is deployment, upgrades, and lifecycle, I won't dive into to much say the details of what is an spfx web part. In fact, what I'd like to do is just set up some starter code that we will work with through the rest of this course. This code is extremely simple. Let me go ahead and first set up a SharePoint framework web part. So I'm going to say mkdir spfxwebpart. Let's go in here and let's run the Microsoft slash SharePoint Yeoman generator. I'm going to save some time and not do the npm install, automatic npm install, after this. So I'll just hit dash dash skip install, hit enter. And I'll just accept all the defaults for now and this basically creates a simple web part for me. So this is a starter project. It is my simple SharePoint framework web part. What I'm going to do is that I'm going to compress this folder into a Zip file, call it spfx web part. And I am going to place this inside exercise files, chapter one, 02, start and we…

Contents