

Set up SPFx environments for SharePoint Server deployments
source link: https://www.andrewconnell.com/blog/how-to-setup-sharepoint-framework-development-environment-for-multiple-sharepoint-server-deployments/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to set up SPFx development environments for multiple SharePoint Server deployments
In this post, learn how to set up a development development environment to create SPFx projects for all SharePoint deployments.
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:
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

Andrew Connell is a web developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to delivering industry-leading on-demand video training to professional developers. He lives with his wife & two kids in Florida.
Recommend
-
7
SharePoint Framework (SPFx) 开发入门教程 前言 ...
-
12
SharePoint Online 部署SPFx Web部件 前言 上一篇...
-
16
SharePoint Online SPFx Web部件绑定数据 前言 在...
-
14
SharePoint Online 创建SPFx客户端Web部件 1.创建项目目录 打开Node...
-
7
Use Different Versions of TypeScript in SPFx projects Tuesday, December 15, 2020 9:55 AM ...
-
7
SharePoint Framework v1.12.1 - What’s in the latest Update of SPFx? Wednesday, April 28, 2021 5:06 PM
-
9
Overview of the SharePoint Framework 06/12/2020 5 minutes to read In this article The SharePoint Framework (SPFx) is a page and web part mo...
-
6
How Removing Staging Environments Can Improve Your Deployments May 04, 2022...
-
6
How to register SPFx field customizers with the SharePoint REST APIIn this article, learn how to register SPFx field customizers using SharePoint’s REST API. See how you can do this our utility web part you can use in your sites!
-
4
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK