This extension provides the standard svelte boilerplate code for General usage.
Type '!t' or '!ttl' in a svelte file and select the snippet from the auto-suggestion dropdown to get the svelte boilerplate to get started quickly.
Comand | Description |
---|---|
!t | Basic template for svelte |
!tts | Basic template with language typescript |
!tl | Basic tempalate with slot |
!ttsl | Basic template with language typescript and slot |
!lifecycle-mount | onMount lifecycle function |
!lifecycle-destroy | onDestroy lifecycle function |
Ctrl-Shift-P
(Windows, Linux) or Cmd-Shift-P
(OSX)Svelte Snippets
Svelte Snippets.