reactapp-project-setup Svelte Themes

Reactapp Project Setup

šŸš€ A powerful CLI to scaffold modern web projects with React, Vue, Svelte & more. TypeScript, Tailwind CSS, Router support included. Perfect for beginners!

šŸš€ ReactApp Project Setup

A powerful, beginner-friendly CLI tool to scaffold modern web projects in seconds with React, Vue, Svelte, and more!

✨ Features

  • šŸŽØ 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

šŸ“¦ Installation

npm install -g reactapp-project-setup

One-time Use (npx)

npx reactapp-project-setup

šŸŽÆ Usage

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

Quick Example

# Install globally
npm install -g ractapp-project-setup

# Create a new project
reactapp

# Follow prompts, then:
cd my-awesome-app
npm run dev

šŸ› ļø What You Get

Framework Options

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

Project Structure

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

Optional Features

  • Tailwind CSS - Pre-configured utility-first CSS framework
  • Router - Navigation setup (React Router, Vue Router, or Svelte Routing)
  • Organized Folders - Clean, scalable project structure

šŸŽØ Supported Tech Stacks

React

  • āœ… React 18+
  • āœ… JavaScript or TypeScript
  • āœ… React Router (optional)
  • āœ… Tailwind CSS (optional)

Vue

  • āœ… Vue 3+
  • āœ… JavaScript or TypeScript
  • āœ… Vue Router (optional)
  • āœ… Tailwind CSS (optional)

Svelte

  • āœ… Svelte 4+
  • āœ… JavaScript or TypeScript
  • āœ… Svelte Routing (optional)
  • āœ… Tailwind CSS (optional)

Others

  • āœ… Preact with Tailwind
  • āœ… Lit (JavaScript or TypeScript)
  • āœ… Vanilla JS/TS

šŸ“š Commands

Once your project is created:

# Start development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

šŸŽÆ Example Projects

Create a React + TypeScript + Tailwind app

reactapp
# Choose: React → TypeScript → Tailwind: Yes

Create a Vue 3 app with router

reactapp
# Choose: Vue → JavaScript → Router: Yes

Create a minimal Svelte app

reactapp
# Choose: Svelte → JavaScript → Tailwind: No → Router: No

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

šŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

šŸ“§ Support

🌟 Show Your Support

Give a ā­ļø if this project helped you!


Made with ā¤ļø by Shahnawas Adeel

Top categories

Loading Svelte Themes