jbouhier / vite-react-create-app

Simple & modern React app setup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite React Create App ⚛️

Modern React + TypeScript app setup
powered by Vite build tool and Vitest test framework

Why

The official React documentation do not explain how to start a simple project. Create-react-app used to be the de facto choice for that, but hasn't been properly maintained for the past few years. Since then, the JavaScript ecosystem has changed with, for instance the emergence of Vite build tool, offering significant better performance over Webpack.

This goal of this project is to address this lack for a simple solution.

Install

  • Clone this repo
  • Follow the rest 👇

Requirements

Pnpm Commands

  • i - Install dependencies
  • dev - Run local server
  • build - Build for prodution
  • lint - Linter
  • test - Tests
  • test:ui - Tests with UI
  • coverage - Test coverage ./coverage/index.html (open in browser)
  • json - Mock API server

Built with

About

Simple & modern React app setup


Languages

Language:JavaScript 52.3%Language:TypeScript 45.1%Language:HTML 2.6%