A Vite, Vue 3 and Vuetify 3 powered WebExtension (Chrome starter template.
- ⚡️ No nonsense, simple plug and play
- 🥝 Vue 3 - Composition API,
<script setup>syntax and more! - 🦾 TypeScript - type safe
- 🖥 Content Script - Use Vue even in content script
- 🌍 WebExtension - isomorphic extension for Chrome, Firefox, and others
webextension-polyfill- WebExtension browser API Polyfill with types
Simple clone this repo and run npm install
src- main source.assets- assets used in Vue componentsbackground- scripts for background.components- auto-imported Vue components that are shared in popup and options page.contentScript- scripts and components to be injected ascontent_scriptoptions- the vue template for the options pageplugins- vuetify etcpopup- the vue template for the popup
extension- extension package root.dist- built files
To build the extension, run
npm buildAnd then pack files under extension
As you might tell from this ReadMe and a lot of the code in this repo, this template was inspired by the excellent vitesse-webext by antfu. I would've used that but I hate tailwind and I wanted something much more simple and straightforward