Using react.js in asp.net core mvc razor view multi page application
React inside razor
- Install dotnet core 3.1 sdk, nodejs and yarn in your system.
- Clone the project
git clone https://github.com/farhadmpr/razor-react && cd razor-react
- Change directory
cd RazorReact\Backend
- Run
dotnet run
- Change frontend react components in
wwwroot\frontend
- Build react by
yarn build