SharePoint Framework (SPFx) Quick Start - SPFx v1.21.0 and earlier (Updated 2025)

It’s been a while since I posted, but with SPFx v1.22.0 due out in the next couple of weeks, I decided to make a final update to this article on how to get started in SPFx using the gulp toolchain. In case you haven’t heard, v1.22.0 will no longer use the Gulp toolchain as it is being replaced with Heft. The main reason for this change is that the Gulp toolchain has been very difficult to keep up-to-date and the internal engineering teams at Microsoft changed to Heft a while back. They are actively keeping this up-to-date since they are using it, so now we will benefit from that work.
