React Vite
raw JSON → 0.0.5 verified Mon Apr 27 auth: no javascript
A CLI tool to quickly scaffold React projects using Vite with pre-configured templates. Current stable version is 0.0.5, with slow release cadence. Differentiators: offers curated templates for React + Vite setups, simplifying initial configuration compared to manual Vite setup or Create React App. Lightweight CLI focused on React ecosystem.
Common errors
error command not found: react-vite ↓
cause Not installed or not using npx.
fix
Run with npx:
npx react-vite my-app error npm ERR! code ENOENT ↓
cause Missing package.json in target directory.
fix
Ensure you run in an empty or project directory.
Warnings
gotcha Package is a CLI tool; do not install as a runtime dependency. ↓
fix Use npx react-vite or install globally with `npm install -g react-vite`.
gotcha Very early stage (v0.0.5); API and templates may change without notice. ↓
fix Pin version or check template compatibility after updates.
Install
npm install react-vite yarn add react-vite pnpm add react-vite Imports
- react-vite
npx react-vite <project-name>
Quickstart
npx react-vite my-app
cd my-app
npm install
npm run dev