React
Setup React 18
Node
Important: Install Node first
Use Vite to create a new React project
npm init vite@latest MY_NEW_APP -- --template react-ts
cd MY_NEW_APP
npm install
npm run dev
install react-router-dom
npm install --save react-router-dom @types/react-router-dom
UI library (MUI)
Add a UI library to get started quickly
npm install --save @mui/material @mui/icons-material @emotion/react @emotion/styled
MUI
- More info at MUI.com
- Example project MUI Example
Run it
npm start