Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mst-mkt/vite-react-template
React Template with Vite, @tanstack/resct-router, TailwindCSS
https://github.com/mst-mkt/vite-react-template
react tanstack-router vite
Last synced: 27 days ago
JSON representation
React Template with Vite, @tanstack/resct-router, TailwindCSS
- Host: GitHub
- URL: https://github.com/mst-mkt/vite-react-template
- Owner: mst-mkt
- License: mit
- Created: 2024-01-07T09:04:27.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T14:45:07.000Z (2 months ago)
- Last Synced: 2024-09-08T16:51:10.277Z (2 months ago)
- Topics: react, tanstack-router, vite
- Language: TypeScript
- Homepage:
- Size: 658 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vite and React template
Template for Vite and React projects.
> [!NOTE]
> This Template is basically for my personal use, but you can use it if you want. \
> If you have any suggestions or improvements, feel free to open an issue or a pull request.## Tech Stack
| Name | Purpose |
| ---------------------- | ------------------------- |
| Vite | Build tool |
| React | UI library |
| Tailwind CSS | CSS framework |
| @tanstack/react-router | Routing library |
| Jotai | State management library |
| zod | Schema validation library |
| react-helmet-async | Dynamic meta tags |
| @tabler/icons-react | Icon component library |### For development
| Name | Purpose |
| ----------- | --------------------------- |
| pnpm | Package manager |
| biome | Formatter and linter |
| husky | Git hooks |
| lint-staged | Run linters on staged files |## Development
### Install dependencies
```sh
pnpm i
```### Run development server
```sh
pnpm dev
```### Build
```sh
pnpm build
```### Lint and format
```sh
pnpm check
```with applying fixes:
```sh
pnpm fix
```