Can you please explain the stages involved in developing an SPFx app and deploying it to Production, like starting from development, debugging, building and deploying to Production, so that users can start utilizing it?
Interviews2 answers
What are the steps involved from developing an SPFx application and deploying it to Production?
2 Answers
First of all you need to set up your developmet environment using below steps.
- Install Node
- Install yoman
- Install gulp,
- install code editor like VS Code
then create your webpart using yoman generator “yo @microsoft/sharepoint”
After complete your develoment just tun gulp commands, gulp bundle --ship and gulp package-solution --ship which will create your sppkg file
upload that file to SharePoint appcatalog, click on deploy
for more details you can find a very good article written by SharePoint Gems.
Sarang GiddePosted Feb 3, 2022, 8:48 AM EST
1. Environment Setup - which includes Node JS, Yeoman, Gulp, SharePoint Generator and Visual Studio Code
2. Development - using JavaScript /React
3. Deployment - deploying to app catalog in Development site
4. Testing - Validating all the functionality of SPFx webpart
5. Deploy to Production Environment
Primal LoboPosted Jul 14, 2021, 7:12 AM EDT

