https://github.com/adrum/dotnet-inertia-react
An example project for using .NET Core, Inertia and React
https://github.com/adrum/dotnet-inertia-react
Last synced: over 1 year ago
JSON representation
An example project for using .NET Core, Inertia and React
- Host: GitHub
- URL: https://github.com/adrum/dotnet-inertia-react
- Owner: adrum
- Created: 2023-04-16T19:45:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T12:51:40.000Z (about 3 years ago)
- Last Synced: 2025-03-05T22:06:01.813Z (over 1 year ago)
- Language: TypeScript
- Size: 387 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .NET Core + Inertia + React Boilerplate
This is an example project for utilizing [InertiaCore](https://github.com/kapi2289/InertiaCore) with [React](https://react.dev/) and [Vite](https://vitejs.dev/).
## Getting Started
```bash
# Clone the repo
git clone {this repo url}
cd dotnet-inertia-react
dotnet restore
dotnet build
dotnet publish
```
## Development
```bash
cd ClientApp
npm run dev
# in another terminal
dotnet watch run
```
## VSCode
Helpful vscode tasks also exits. The "Watch All" task automates the steps in the Development section above.