Overview
The Web Extension Svelte Boilerplate is a useful tool for developers looking to create cross-browser web extensions using Svelte. This boilerplate provides a skeleton structure to start developing web extensions that are compatible with Chrome, Edge, and Firefox.
Features
- Cross-Browser Compatibility: The boilerplate supports development for Chrome, Edge, and Firefox, allowing developers to create web extensions that work across different browsers.
- Easy Installation: The installation process for the boilerplate is simple and straightforward, with specific instructions provided for each browser.
- Devtool Support: Developers can easily keep the devtool open while developing by opening the chrome extension as a page.
Installation
Below are installation instructions for each supported browser:
Chrome
- Go to the browser’s URL address bar.
- Enter
chrome://extensions/. - Switch to “Developer mode”.
- Load the extension by clicking on “Load unpacked”.
- Browse to the
dist/folder in the source code. - Click “Open”.
- The extension is now loaded and ready to use.
Edge
- Go to the browser’s URL address bar.
- Enter
edge://extensions/. - Turn on Developer mode.
- Load the extension by clicking on “Load unpacked”.
- Browse to the
dist/folder in the source code. - Click “Open”.
- The extension is now loaded and ready to use.
Firefox
- Go to the browser’s URL address bar.
- Enter
about:debugging#/runtime/this-firefox. - Click on “Load Temporary Add-on…”.
- Browse to your
manifest.jsonfile and click “Open”. - The extension is now loaded and ready to use.
Summary
The Web Extension Svelte Boilerplate is a handy tool for developers wanting to create cross-browser web extensions using Svelte. It offers features like cross-browser compatibility, easy installation, and support for devtool usage. By following the provided installation instructions, developers can quickly set up and start developing their web extensions on Chrome, Edge, and Firefox.