create-vextro
v0.0.4
Published
Scaffold modern Chrome extensions with Vite + React + Tailwind
Downloads
5
Readme
create-vextro
Scaffold a modern Chrome extension powered by Vite + React + Tailwind in seconds.
Vextro is a starter toolkit designed for building fast, modern Chrome extensions using:
🚀 Getting Started
You can scaffold a new extension using one of the following commands:
With npm
npm create vextro@latestWith Yarn
yarn create vextroWith pnpm
pnpm create vextroWith Bun
bun create vextroThen follow the prompt to choose your project name:
cd my-extension
npm install
npm run devFinally, open Chrome and load your extension from the dist/ folder via chrome://extensions.
📁 Example Folder Structure
my-extension/
├── public/ # Static assets (optional)
├── src/
│ ├── background/ # Background service worker
│ ├── content/ # Content scripts
│ ├── options/ # Options page (React + Tailwind)
│ ├── popup/ # Popup UI (React + Tailwind)
│ ├── manifest.ts # Typed manifest config
│ ├── styles.css # Tailwind CSS entrypoint
│ └── utils/ # Utility scripts
├── vite.config.ts # Vite + CRX plugin config
├── tsconfig.json
└── package.json🌟 Features
- ⚡ Instant startup with Vite
- 🔥 HMR for popup and options
- 🧩 Multi-entry support with
@crxjs/vite-plugin - 🛠️ Preconfigured React + TypeScript + Tailwind
- 🧱 Opinionated folder structure
📄 License
MIT © Lasantha Lakmal
