Svelte
Adds a sidebar panel to the browser with a simple Svelte page.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: sidebar, content script, popup, background service worker · Styling: CSS · Level: beginner · Framework: svelte
Create this project
npx extension@latest create my-svelte --template svelte
cd my-svelte
npm install
npm run dev
What it is for
- A sidebar panel rendered by Svelte
- Svelte components compiled with no extra config
- Starting point for Svelte extensions
First steps
- Run npm run dev to launch the extension
- Click the extension icon to open the Svelte sidebar panel
- Edit the component in src/sidebar/ and save to watch it update
Source on GitHubDocumentation
extension.devDocumentation for extension.dev