Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Svelte Instant ViewerNew to Visual Studio Code? Get it now.
Svelte Instant Viewer

Svelte Instant Viewer

nosa

|
971 installs
| (0) | Free
Show html file in the browser without transpile. But JavaScript does not work.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

svelte-instant-view README

This extension is showing instant view for a svelte file. It's not a compleate svelte transpile file. For quick viewing svelte browser image.

Features

This extension show the base html image embedded svelte file contains css file in the svelte file. If the style tag in a svelte file is type of sass or scss, then it's complied to css file. iIf you open from file exploler context menu then open browser with saved file. If you open from editting file context menu then open browser with editting text. Attention! But it's not work svelte script.

Requirements

The extention open a local html file with Browser.

Extension Settings

This extension contributes the following settings:

  • svelte-instant-view.baseFile: set base html file. Default is 'public/index.html'.
  • svelte-instant-view.insertTagSelector: set embeding tag selector. Default is 'body'.
  • svelte-instant-view.disableScript: set svelte script in base html file. Default is 'build/bundle.js'.
  • svelte-instant-view.browser: select Browser for viewing image. 'chrome', 'firefox' or 'edge) can select.

Release Notes

Users appreciate release notes as you update your extension.

0.0.1

Initial release of ...

0.0.2

bug fix.

0.1.0

bug fix. Fixed opening only one tab support child compornents. support editting file view.

0.1.1

support child compornent static attributes.(not support script function.)

0.1.2

fixed two bugs. one is that import not svelte files. Another is the stop with error when a svelte file is not exist.

0.1.2

fixed a bug when filepath has parent folder path '../'.

0.2.0

Reamde the code to analize Svelte file.

0.2.1

Could not publish correctly Ver. 0.2.0

0.2.3

fixed sum bugs

0.2.4

Sorry!. don't work. becose VSCE command has created an abnormal package.

0.2.5

fixed 3 bugs.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft