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

https://github.com/wearemiew/miew-react-starter

A lightweight React starter template customized to fit our internal development standards.
https://github.com/wearemiew/miew-react-starter

react react-router vite

Last synced: 8 months ago
JSON representation

A lightweight React starter template customized to fit our internal development standards.

Awesome Lists containing this project

README

          

# Miew React Starter Template

This is a template for React projects for Miew, providing a modern development environment with essential tools and configurations.

## Pre-installed Libraries and Tools

### Core Dependencies

- React 19
- React DOM 19
- TypeScript 5.7

### Development Tools

- Vite 6.3 (Build tool and development server)
- ESLint 9.22 (Code linting)
- Prettier 3.5 (Code formatting)
- TypeScript ESLint 8.26 (TypeScript linting)

### Development Features

- Hot Module Replacement (HMR)
- TypeScript support
- ESLint configuration with React hooks and refresh plugins
- Prettier integration for code formatting

## Getting Started

1. Clone this repository
2. Install dependencies:
```bash
npm install
```
3. Start the development server:
```bash
npm run dev
```
4. Build for production:
```bash
npm run build
```

## Available Scripts

- `npm run dev` - Start development server
- `npm run build` - Build for production
- `npm run lint` - Run ESLint
- `npm run preview` - Preview production build

## Project Structure

The project follows a standard React + Vite structure:

- `src/` - Source code directory
- `public/` - Static assets
- `index.html` - Entry HTML file
- `vite.config.ts` - Vite configuration
- `tsconfig.json` - TypeScript configuration
- `eslint.config.js` - ESLint configuration