Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```