This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Addition of this boilerplate:
- Clone this repository
- Create an
.env
file in the root directory following the.env.example
file - Run 'npm install' to install all dependencies
-
File structure in /src:
- /routes
- /pages
- /scss
- /layouts
-
Setup alisas for path ing vite.config and tsconfig:
- @
- @pages
- @routes
- @layouts
-
Sass:
- Auto import global variables
-
Routes:
- react-router-dom
- Lazy loading
- Layout