Running in Development Mode
Learn to run React apps in development mode in this chapter.
We'll cover the following...
We'll cover the following...
Steps to run an app in development mode
In the following steps, we’ll examine the ASP.NET Core project file to see what happens when the app runs in development mode:
We can open the project file by right-clicking the web application project in “Solution Explorer” and selecting the “Edit Project File” option:
This is an XML file that contains information about the Visual Studio project.
Let’s look at the Target element, which has a
Nameattribute ofDebugEnsureNodeEnv:
This executes tasks when the ClientApp/node-modules folder doesn’t exist and the Visual Studio project is run in debug mode, which is the mode that’s used ...