Single-file Svelte previewer for VS Code. Opens a live preview of any .svelte component inside the editor.
.svelte file in a side panel or custom editor.svelte fileYou can also right-click in the editor and choose Svelte Viewer, or use Open With → Svelte Viewer.
On first activation the extension installs its Vite dependencies automatically (~5 s, requires internet).
npm install
cd preview-app && npm install && cd ..
npm run build
npx vsce package
# or use the helper script:
./quickbuild.zsh
MIT