Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vwh/revite

Quick starter template for your React project includes Vite, ShadcnUI, Tailwind, Lucide and more
https://github.com/vwh/revite

lucide-react prettier react react-starter react-starter-project shadcn-ui tailwindcss template template-project typescript vite vite-starter vite-starter-template vite-template vite-template-react

Last synced: about 21 hours ago
JSON representation

Quick starter template for your React project includes Vite, ShadcnUI, Tailwind, Lucide and more

Awesome Lists containing this project

README

        


ReVite



QuickStarter for React with Vite: A streamlined template to kickstart your React projects with essential features built-in. Boost your development process with speed and efficiency.



Check Format Badge


Lint Badge




Preview

## ๐Ÿ—ƒ๏ธ Project Structure

```bash
ReVite/
โ”œโ”€โ”€ components.json # Configuration for Shadcn UI components
โ”œโ”€โ”€ index.html # Main HTML file
โ”œโ”€โ”€ package.json # Project metadata and dependencies
โ”œโ”€โ”€ prettier.config.js # Prettier configuration
โ”œโ”€โ”€ public/ # Public assets
โ”‚ โ””โ”€โ”€ images/ # Image assets
โ”œโ”€โ”€ src/ # Source files
โ”‚ โ”œโ”€โ”€ App.tsx # Main app component
โ”‚ โ”œโ”€โ”€ components/ # React components
โ”‚ โ”‚ โ””โ”€โ”€ ui/ # UI components
โ”‚ โ”œโ”€โ”€ hooks/ # Custom hooks
โ”‚ โ”œโ”€โ”€ index.css # Main CSS file
โ”‚ โ”œโ”€โ”€ lib/ # Utility functions
โ”‚ โ”œโ”€โ”€ main.tsx # Main entry point
โ”‚ โ””โ”€โ”€ vite-env.d.ts # TypeScript Vite environment definitions
โ”œโ”€โ”€ tailwind.config.js # Tailwind CSS configuration
โ”œโ”€โ”€ tsconfig.app.json # TypeScript app configuration
โ”œโ”€โ”€ tsconfig.json # TypeScript base configuration
โ”œโ”€โ”€ tsconfig.node.json # TypeScript Node configuration
โ””โ”€โ”€ vite.config.ts # Vite configuration
```

## ๐Ÿš€ Getting Started

### ๐Ÿ“ฅ Installation

Clone the repository and install dependencies:

```bash
git clone https://github.com/vwh/revite
cd revite

# Using Bun
bun install

# Or using npm
npm install
```

### ๐Ÿ’ป Development Server

Start the development server:

```bash
# Using Bun
bun run dev

# Or using npm
npm run dev
```

### ๐Ÿ—๏ธ Build

Build the project for production:

```bash
# Using Bun
bun run build

# Or using npm
npm run build
```

### ๐Ÿ‘€ Preview

Preview the production build locally:

```bash
# Using Bun
bun run preview

# Or using npm
npm run preview
```

### ๐Ÿงน Linting

Lint the project files:

```bash
# Using Bun
bun run lint

# Or using npm
npm run lint
```

### ๐ŸŽจ Formatting

Format the project files:

```bash
# Using Bun
bun run format

# Or using npm
npm run format
```

Check the formatting:

```bash
# Using Bun
bun run format:check

# Or using npm
npm run format:check
```

## ๐Ÿค Contributing

Contributions are welcome! Feel free to open a pull request with your improvements or fixes.