Last active
February 17, 2021 13:38
-
-
Save josy1024/adf7d53ca9a1c66b2c2a689d3901f1e6 to your computer and use it in GitHub Desktop.
windows setup sharepoint spfx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: https://docs.microsoft.com/de-de/sharepoint/dev/spfx/set-up-your-development-environment | |
:: https://docs.microsoft.com/de-de/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part | |
:: requirements: chocolatey installed (windows) | |
:: SETUP ENVIRONMENT (ADMIN) #spfx | |
choco install nodejs-lts --version 8.11.4 | |
refreshenv | |
npm install -g npm | |
npm install -g yo gulp | |
npm install -g @microsoft/generator-sharepoint | |
OR: | |
npm install gulp yo @microsoft/generator-sharepoint --global | |
set path=%path%;%appdata%\npm | |
:: HELLO WORLD (USER) | |
cd %userprofile%\Documents | |
md helloworld-webpart | |
cd helloworld-webpart | |
yo @microsoft/sharepoint | |
gulp trust-dev-cert | |
gulp serve | |
OR OPEN https://#tenant#.sharepoint.com/_layouts/15/workbench.aspx an select |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment