2

Set up SPFx environments for SharePoint Server deployments

 2 years ago
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.
neoserver,ios ssh client

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
Founder & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK