In the last few weeks, I’ve published my series of definitive guides for developing SharePoint Framework solutions for all SharePoint Server deployments. You can check out the series here:
- Definitive guide for developers: SharePoint Framework for SharePoint Server 2016
- Definitive guide for developers: SharePoint Framework for SharePoint Server 2019
- Definitive guide for developers: SharePoint Framework for SharePoint Server Subscription Edition (SE)
When I was working on this series, I asked the students of my Mastering the SharePoint Framework course what questions they would like to see answered. One common one kept coming up:
How to combine a dev environment with the different versions? So how-to develop both online and onprem stuff on a single machine?
In this post, I’ll answer those questions by showing you how I setup my development environment. You’ll learn the following things from this post:
- Managing multiple Node.js versions
- SharePoint Framework development for SharePoint Server 2016 with Feature Pack 2
- SharePoint Framework development for SharePoint Server 2019 & Subscription Edition (SE)
- SharePoint Framework development for SharePoint Online
- Try out SharePoint Framework betas
You’ll also learn how, by using the approach I outline in this post, how you don’t have to uninstall anything to jump between environments. Once setup, you can jump between environments freely. That’s what I do… the only things I have to update are the last two in my list above because betas change & when working with SharePoint Online SPO, I always want to be on the latest version of SPFx available.
This article first appeared on the Voitanos blog: How to set up SPFx development environments for multiple SharePoint Server deployments