Skip to main content

Create the project

What you get

Compile-time UI with single-file .svelte components and a minimal runtime footprint. A good fit for content scripts and sidebar panels where every kilobyte counts. The template scaffolds a sidebar panel and a content script, plus the build configuration needed for HMR-friendly Svelte authoring inside an extension context.

Source

Browse the full source on GitHub: extension-js/examples/svelte.

Video walkthrough