A powerful, beginner-friendly CLI tool to scaffold modern web projects in seconds with React, Vue, Svelte, and more!
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
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.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.
Give a āļø if this project helped you!
Made with ā¤ļø by Shahnawas Adeel