Set up a SharePoint Framework development environment (WIN 11 / no Docker)
This video explains all the necessary steps to set up a development environment for SharePoint Framework (SPFx) based solutions on Windows 11.
As an alternative you can use a Docker container to build SPFx based solutions.
Command to check installed Node.js version: node --version
Powershell to set policy:
Get-ExecutionPolicy -List
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Important links:
- https://nodejs.org/de/download
- https://code.visualstudio.com/download
Packages/Tools:
- Gulp npm install gulp-cli --global
- Yeoman npm install yo --global
- Generator npm install @microsoft/generator-sharepoint --global
Trust Certificate: gulp trust-dev-cert
Create a new project: yo @microsoft/sharepoint
Kommentare