Skip to content

jbouhier/vite-react-create-app

Repository files navigation

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

Releases

No releases published

Packages

No packages published