Skip to content

csabika98/ReactViteBlazorNet8

Repository files navigation

React + Vite + Blazor + .NET 8

TO INSTALL IT ON MAC

make -f installMac.mk

TO INSTALL IT ON LINUX

sudo apt-get install make
make -f install.mk

TO INSTALL IT ON WINDOWS

powershell -ExecutionPolicy ByPass -File .\install.ps1

Screenshots

PROXY SERVER INCLUDED

http:https://localhost:8888 -> VITE + REACT
http:https://localhost:8888/api -> .NET8 + Blazor Pages BACKEND

Installation

Installation script works only on Windows

  • use the installation script, install.ps1 (you will need to run as administrator)
powershell -ExecutionPolicy ByPass -File .\install.ps1
  • Install NodeJS dependencies
npm install

RUN

To run the app

  • It will run React + Vite
  • Build BLAZOR with .NET 8
npm run dev

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available: