SvelteKit-Webextension-Template
A starter template to build Svelte powered browser extensions, with a pre-configured SvelteKit build system that lets you get started instantly. Based on the steps in this article.
Setup
- Use this repo as a template and create a new one for your own project.
- clone a local copy of your created repo
- Run
npm install
npm run build
- Load the /build folder as an unpacked extension in chrome from the chrome extension settings page. (You may have to enable chrome developer mode, if you haven't already)
- The extension should auto update usually. But as a general practise, refresh the extension from Chrome's extensions setings page, each time you run
npm build
- Publish to chrome web store once ready, as per the steps in their dev docs.