Microsoft
MS-600 · Question #26
You have a starter SharePoint Framework (SPFx) web part. You need to test the web part from the local workbench by connecting to a URL of https:// localhost:4321/temp/workbench.html. Which tool…
The correct answer is D. gulp serve. The serve task is used to test the developed web part locally using workbench files.
Extend and customize Microsoft 365 with SharePoint Framework
Question
You have a starter SharePoint Framework (SPFx) web part. You need to test the web part from the local workbench by connecting to a URL of https:// localhost:4321/temp/workbench.html. Which tool should you use make the web part available locally for debugging?
Options
- AYeoman
- BMicrosoft Visual Studio Code
- Cnpm install
- Dgulp serve
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C4% (1)
- D84% (21)
Explanation
The serve task is used to test the developed web part locally using workbench files.
Topics
#gulp serve#SPFx workbench#local debugging#development tools
Community Discussion
No community discussion yet for this question.