This template helps you quickly start developing Chrome extensions with Svelte, TypeScript and Vite. It includes the CRXJS Vite plugin for seamless Chrome extension development.
npm install
npm run dev
Open Chrome and navigate to chrome://extensions/
, enable "Developer mode", and load the unpacked extension from the dist
directory.
Build for production:
npm run build
src/popup/
- Extension popup UIsrc/content/
- Content scriptsmanifest.config.ts
- Chrome extension manifest configurationmanifest.config.ts
to configure your extensionsrc/content/
src/popup/