A powerful, beginner-friendly CLI tool to scaffold modern web projects in seconds with React, Vue, Svelte, and more!
- π¨ Multiple Frameworks - React, Vue, Svelte, Preact, Lit, or Vanilla JS
- π TypeScript & JavaScript - Choose your preferred language
- β‘ Vite Powered - Lightning-fast development experience
- π¨ Tailwind CSS - Optional utility-first CSS framework
- π§ Router Support - Optional routing setup for React, Vue, and Svelte
- π Organized Structure - Pre-configured folder structure
- π― Beginner Friendly - Beautiful CLI with clear instructions
- π Zero Config - Start coding immediately
npm install -g reactapp-project-setup
npx reactapp-project-setup
Simply run the command:
reactapp
Then follow the interactive prompts:
? π¦ Project name: my-awesome-app
? π¨ Choose your framework: React
? π Select your language: JavaScript
? π¨ Add Tailwind CSS? Yes
? π§ Include router? No
? π Create organized folder structure? Yes
# Install globally
npm install -g ractapp-project-setup
# Create a new project
reactapp
# Follow prompts, then:
cd my-awesome-app
npm run dev
Framework | Description | Size |
---|---|---|
βοΈ React | Most popular UI library | ~45 KB |
π Vue | Progressive framework | ~34 KB |
πΊ Svelte | No virtual DOM, truly reactive | ~2 KB |
π· Preact | Fast 3KB React alternative | ~3 KB |
πΆ Lit | Lightweight web components | ~5 KB |
β‘ Vanilla | Pure JavaScript, no framework | 0 KB |
After scaffolding, your project will have:
my-awesome-app/
βββ src/
β βββ components/ # Reusable components
β βββ pages/ # Page components
β βββ hooks/ # Custom hooks (React)
β βββ assets/ # Images, fonts, etc.
β βββ App.jsx # Main app component
β βββ main.jsx # Entry point
βββ public/ # Static assets
βββ index.html # HTML template
βββ package.json # Dependencies
βββ vite.config.js # Vite configuration
βββ README.md # Project documentation
- Tailwind CSS - Pre-configured utility-first CSS framework
- Router - Navigation setup (React Router, Vue Router, or Svelte Routing)
- Organized Folders - Clean, scalable project structure
- β React 18+
- β JavaScript or TypeScript
- β React Router (optional)
- β Tailwind CSS (optional)
- β Vue 3+
- β JavaScript or TypeScript
- β Vue Router (optional)
- β Tailwind CSS (optional)
- β Svelte 4+
- β JavaScript or TypeScript
- β Svelte Routing (optional)
- β Tailwind CSS (optional)
- β Preact with Tailwind
- β Lit (JavaScript or TypeScript)
- β Vanilla JS/TS
Once your project is created:
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run preview
reactapp
# Choose: React β TypeScript β Tailwind: Yes
reactapp
# Choose: Vue β JavaScript β Router: Yes
reactapp
# Choose: Svelte β JavaScript β Tailwind: No β Router: No
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Vite
- Powered by Inquirer.js
- Styled with Chalk
- Inspired by create-vite
- π Report Issues
- π¬ Discussions
- π§ Email: mdadeel125@gmail.com
Give a βοΈ if this project helped you!
Made with β€οΈ by Shahnawas Adeel