This extension is providing you with common snippets to use in .svelte
files
Snippet | Description |
---|---|
svbase |
Single file component base |
svif |
Svelte {#if} {/if} block |
svifelse |
Svelte {:else}block |
svelif |
Svelte {:else if} block |
sveach |
Svelte {:else if} block |
sveach |
Svelte {#each} block |
sveachk |
Svelte {#each (key)} block |
sveachik |
Svelte {#each ,index (key)} block |
svawait |
Svelte {#await}...{:then}...{:catch}...{/await} block |
svdispatch |
Svelte createEventDispatcher import line |
[TBU]
[TBU]
[TBU]
My assumption is that you are using Svelte Beta
plugin from the marketplace to provide support for .svelte
files.
There are a lot of snippets missing, and I will try to add them regularly on our way to 1.0 release.
Enjoy!