Vite Breeze
A simple CLI tool to quickly generate a React project using Vite, React Router, and a pre-configured context folder. It also sets up Tailwind CSS, along with auto-created pages
and components
folders.
Note
Do not use ( npm i vite-breeze ) as it will not work because its a Cli-tool not a package.
π Installation
Instead of installing globally, you can use npx
to run the CLI directly:
npx vite-breeze
Why npx
?
Using npx vite-breeze
is recommended because:
β
No Global Installation: Avoids version conflicts.
β
Always Up-to-Date: Ensures you're using the latest version.
β
Quick & Easy: Runs instantly without installation.
π§ Usage
Once you run the command, you'll be prompted to enter a project name:
π Enter project name: my-react-app
vite-breeze
will then:
- Create a new directory with the specified name.
- Initialize a new Vite React project.
- Install dependencies including React Router, Axios, and Tailwind CSS.
- Configure Tailwind CSS automatically.
- Create the following folder structure in
src/
:-
context/
- For React Context API files (AppContext.js
included). -
components/
- For reusable components. -
pages/
- For page components.
-
β After setup, follow these steps:
cd my-react-app
npm run dev
π Features
- β‘ Vite-Powered: Super-fast project setup.
- π¨ Tailwind CSS: Pre-configured for styling.
- π React Router: Automatically installed.
- π‘οΈ Axios: Automatically installed.
- π Organized Structure: Creates a clean project layout.
- π§ Context API Setup: Adds a ready-to-use
AppContext.js
.
π€ Contributing
Contributions are welcome! Open an issue or submit a pull request on GitHub.
π License
- Commercial License (for companies, SaaS, and proprietary products). Contact muhbasit235@gmail.com for details.
- License Purchase If you need a license visit this link: https://basitwave1.gumroad.com/l/bkhhk
Top comments (0)