an opinionated template for creating browser extensions for chromium and firefox browsers using react tailwind and shadcn-ui
This project uses @samrum/vite-plugin-web-extension. Refer to the plugin documentation for more information.
npm installHot Module Reloading is used to load changes inline without requiring extension rebuilds and extension/page reloads Currently only works in Chromium based browsers.
npm run devRebuilds extension on file changes. Requires a reload of the extension (and page reload if using content scripts)
npm run watchMinifies and optimizes extension build
npm run buildLoads the contents of the dist directory into the specified browser
npm run serve:chromenpm run serve:firefoxContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.