Features (pre-configured)
-
โก๏ธ React 18, TypeScript 4, and Vite 3 -
๐ Routing viareact-router v6
with lazy loading and protected routes support -
๐ Layout System with multiple layout support -
๐ฎ State Management via Redux - with hooks and logging for development -
โ Global error handling witherror-boundary
- can be used for logging to third-party services -
๐จ TailwindCSS - a utility-first CSS framework for rapid UI development. -
๐จ DaisyUI - the most popular Tailwind CSS component library. -
๐ฒ Theme System withlight-and-dark
mode -theme-change
for theme switching -
๐ฆพ Strongly Typed: written in TypeScript
Plugins
vite-plugin-ejs
- use ejs in your HTML
Checklist
When you use this template, follow the checklist to update your info properly
- Create a
.env
file from.env.example
- Change the favicon in
public
- Clean up the READMEs
Todo
- Add unit testing with
vitest
- Improve code style and IDE support
Usage
Installation
$ npm install
Development
Run and visit http://localhost:5173
$ npm run start:dev
Build
To build the App, run
$ npm run build
Preview
To preview the App, run
$ npm run preview
Test
$ npm test
License
This project is opened under the MIT 2.0 License which allows very broad use for both academic and commercial purposes.