QuickStarter for React with Vite: A streamlined template to kickstart your React projects with essential features built-in. Boost your development process with speed and efficiency.
ReVite/
โโโ components.json # Configuration for Shadcn UI components
โโโ index.html # Main HTML file
โโโ package.json # Project metadata and dependencies
โโโ prettier.config.js # Prettier configuration
โโโ public/ # Public assets
โ โโโ images/ # Image assets
โโโ src/ # Source files
โ โโโ App.tsx # Main app component
โ โโโ components/ # React components
โ โ โโโ ui/ # UI components
โ โโโ hooks/ # Custom hooks
โ โโโ index.css # Main CSS file
โ โโโ lib/ # Utility functions
โ โโโ main.tsx # Main entry point
โ โโโ vite-env.d.ts # TypeScript Vite environment definitions
โโโ tailwind.config.js # Tailwind CSS configuration
โโโ tsconfig.app.json # TypeScript app configuration
โโโ tsconfig.json # TypeScript base configuration
โโโ tsconfig.node.json # TypeScript Node configuration
โโโ vite.config.ts # Vite configuration
Clone the repository and install dependencies:
git clone https://github.com/vwh/revite
cd revite
# Using Bun
bun install
# Or using npm
npm install
Start the development server:
# Using Bun
bun run dev
# Or using npm
npm run dev
Build the project for production:
# Using Bun
bun run build
# Or using npm
npm run build
Preview the production build locally:
# Using Bun
bun run preview
# Or using npm
npm run preview
Lint the project files:
# Using Bun
bun run lint
# Or using npm
npm run lint
Format the project files:
# Using Bun
bun run format
# Or using npm
npm run format
Check the formatting:
# Using Bun
bun run format:check
# Or using npm
npm run format:check
Contributions are welcome! Feel free to open a pull request with your improvements or fixes.