Skip to content

alessandropisu/vite-react-ts-minimal-template

Repository files navigation

Vite + React + TypeScript + Airbnb + Husky = 🔥

A modern minimal Vite + React + TypeScript template with pre-configured ESLint (with Airbnb JS/React rules), Prettier and Git hooks powered by Husky out of the box 📦

Vite React TypeScript ESLint Prettier

Screenshot

Features

  • 🦾 Up to date libraries version and their features
  • 🔎 Pre-configured and extensible ESLint configuration without wrong and unused rules designed for old React versions
  • 💅 Pre-configured and extensible Prettier configuration
  • 🔬 Git hooks for code formatting and linting pre-commit

Usage

npx degit alessandropisu/vite-react-ts-minimal-template my-app

cd my-app

# Required if you want a repository and work with Git hooks
git init

yarn install

yarn dev

Available commands

Run in development mode

  yarn dev

Create production build

  yarn build

Run ESLint linting

  yarn lint

Run Prettier formatting

  yarn format

Run TypeScript compiling

  yarn compile

Serve production build locally

  yarn preview

Resources

License

MIT

About

A modern minimal Vite + React + TypeScript template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published