Quick starting guide for a .NET 8 ASPNET CORE Web MVC project that uses react in views through InertiaJS.
To get started with this project, you will need the following :
-
Restore the project dependencies using
dotnet restore
in the solution path -
Once that is done, you should navigate into the ClientApp folder and install npm packages using
npm install
.
-
Run ASP.NET CORE project, by using following command:
dotnet watch
in project directory -
Run ReactJS project with the following command:
npm run dev
in the ClientApp directory.