vite
Installation
SKILL.md
Vite
Platform: Web only. Mobile demos use Expo with Metro bundler. See the expo-sdk skill.
Overview
Build tool and development server patterns for Vite 7.x. Provides instant server start, lightning-fast HMR, optimized production builds, and extensive plugin ecosystem with first-class TypeScript support.
Install: pnpm add -D vite
Workflows
Initial setup:
- Create
vite.config.tswith TypeScript types - Install React plugin:
pnpm add -D @vitejs/plugin-react - Configure path aliases for clean imports
- Set up environment variables with
.envfiles - Test dev server:
pnpm vite