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:
You can scaffold a new extension using one of the following commands:
npm create vextro@latestyarn create vextropnpm create vextrobun 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.
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
- ⚡ Instant startup with Vite
- 🔥 Hot Module Reload (HMR) for popup and options
- 🧩 Multi-entry support with
@crxjs/vite-plugin - 🛠️ Preconfigured React + TypeScript + Tailwind
- 🧱 Opinionated folder structure
MIT © Lasantha Lakmal