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

https://github.com/d7omdev/vite-react-tanstackrouter-tailwind-starter

Vite + React + TanStack Router + TailwindCSS Starter Template
https://github.com/d7omdev/vite-react-tanstackrouter-tailwind-starter

Last synced: 8 months ago
JSON representation

Vite + React + TanStack Router + TailwindCSS Starter Template

Awesome Lists containing this project

README

          

# Vite React TanStack Router Tailwind Starter

This template provides a minimal setup to get React working in Vite with Hot Module Replacement (HMR), ESLint rules, TanStack's React Router, and Tailwind CSS. It also includes Shadcn/UI with a provided navbar.

## Features

- React
- Vite
- ESLint
- TanStack's React Router
- Tailwind CSS
- Shadcn/UI with a provided navbar

## Getting Started

Clone the repository:

```bash
git clone https://github.com/abdulrahmanDev1/vite-react-tanstackRouter-tailwind-starter.git
```

Navigate into the project directory:

```bash
cd vite-react-tanstackRouter-tailwind-starter
```

Install the dependencies:

```bash
bun install
# or
pnpm install
# or
yarn install
```

Start the development server:

```bash
bun run dev
# or
pnpm dev
# or
yarn dev
```

This will start the development server at `http://localhost:5173`.

## Usage

This project provides a base template using TanStack's React Router and Tailwind CSS. You can start building your React application by modifying the existing files or adding new ones in the `src` directory.

The project also includes Shadcn/UI with a provided navbar. You can customize the navbar by modifying the `Navbar` component in the `src/components` directory.