create-react-vite-starter
v1.0.1
Published
π₯ Create a production-ready Vite + React + TypeScript + Redux starter template in seconds.
Downloads
9
Maintainers
Readme
create-react-vite-starter
π₯ Scaffold a modern React + Vite + TypeScript + Redux app in seconds.
π¦ Usage
npx create-react-vite-starter my-appThis will:
π Create a new folder
my-appπ§± Copy a preconfigured template with:
- β Vite + React + TypeScript
- π§ Redux Toolkit
- π¨ SCSS Modules
- π Axios instance
- π Protected Routes
- π§Ή ESLint + Prettier setup
π Example
npx create-react-vite-starter my-app
cd my-app
npm run devπ Features
- βοΈ React 18 + TypeScript
- π React Router v6
- βοΈ Redux Toolkit (with Auth Slice)
- π¨ SCSS Modules
- π‘ Axios instance
- π Protected Routes
- π ESLint + Prettier configured
π Folder Structure (inside template)
src/
βββ assets/ # Static images & assets
βββ components/ # Reusable UI components
β βββ common/
βββ layouts/ # Page layouts (e.g., MainLayout)
βββ pages/ # App pages (e.g., Home, Login)
βββ services/ # API calls and service logic
βββ store/ # Redux store setup
βββ styles/ # SCSS modules + global vars
βββ utils/ # Utilities like axiosInstance
βββ App.tsx
βββ main.tsxπ§ Available Scripts (inside scaffolded project)
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production buildβ€οΈ Author
Made with β€οΈ by Kalyan Kashaboina
π GitHub
View or contribute to this CLI on GitHub:
π https://github.com/kalyankashaboina/create-react-vite-starter
