follow by dotnet react template
dotnet new react -f net5.0 --no-https
Add dependencies in package.json
npm i \
@types/react \
@types/react-dom \
@types/react-router-dom \
@typescript-eslint/eslint-plugin \
babel-eslint \
eslint \
eslint-plugin-flowtype \
eslint-plugin-react-hooks \
@typescript-eslint/parser