Starter kit for building browser extensions with Vue 3, Vite, Tailwind CSS, DaisyUI, and Lucide.
- Vue 3 + Vue Router (memory history for popup)
- DaisyUI components + Lucide icons
- Light / dark theme toggle (
data-theme) - Auth pages (email + Google Identity)
- Shared state, axios fetcher, safe
chrome.storagehelper - Manifest V3 via
vite-plugin-web-extension - Biome for lint/format
bun i
cp .env.example .envFill .env:
| Variable | Purpose |
|---|---|
VITE_START_URL |
URL opened when bun dev launches the browser |
VITE_SERVER_URL |
API base URL for login/register |
VITE_GOOGLE_OAUTH_CLIENT_ID |
Chrome Identity OAuth client id |
bun dev # develop (web-ext + HMR)
bun run build # production build → dist/
bun run check # biome check --writebun run build- Open
chrome://extensions - Enable Developer mode
- Load unpacked → select the
dist/folder
src/
assets/main.css # Tailwind + DaisyUI
background/ # MV3 service worker stub
components/ # ThemeToggle, GoogleMark
pages/ # Home, About, Login, Register
pop-up/ # extension popup entry
router/
services/ # state, fetcher, storage
manifest.json


