Another vite powered web extension (chrome, firefox, etc.) starter template.
The Vite Vue3 Browser Extension is a starter template for creating web extensions (such as those for Chrome and Firefox) powered by Vite, Vue3, and manifest 3. It provides several key features including Vue 3 with Composition API and Script setup, Vue devtools support, HMR (Hot Module Replacement) for extension pages and content scripts, pre-packaged Vite plugins for routing and component imports, and support for Tailwind CSS and DaisyUI. The template also includes recommended settings and extensions for Chrome plugin development in Visual Studio Code, effortless communication between contexts with the webext-bridge library, and a variety of useful plugins and UI frameworks. The project structure is organized into different folders for the main source, content scripts, background scripts, popup pages, options pages, and more.
To use the Vite Vue3 Browser Extension template, you have two options:
GitHub Template: Create a new repository on GitHub using this template.
Clone to local: Clone the repository to your local machine manually.
git clone [repository-url], replacing [repository-url] with the URL of the repository.Note: Before starting the installation, make sure you have pnpm installed. If not, you can install it by running npm install -g pnpm in your terminal/command prompt.
The Vite Vue3 Browser Extension template is an easy-to-use starter template for creating web extensions using Vite, Vue3, and manifest 3. It includes a wide range of features and pre-configurations such as Vue 3 with Composition API and Script setup, support for Tailwind CSS and DaisyUI, Vue Router setup, recommended settings and extensions for Chrome plugin development, and more. The template provides a clear project structure and offers effortless communication between different contexts using the webext-bridge library. With the Vite Vue3 Browser Extension template, developers can quickly set up a powerful and customizable web extension project.