Last active
October 11, 2021 13:47
-
-
Save joseywoermann/857cbff9f85aab79c1682ed7ac41879c to your computer and use it in GitHub Desktop.
VS Code code snippets for Svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"Create SvelteKit Route Component": { | |
"scope": "svelte", | |
"prefix": "sv", | |
"body": [ | |
"<script lang=\"ts\">\n\n</script>\n\n\n<svelte:head>\n <title></title>\n</svelte:head>\n\n\n<body>\n $1\n</body>\n\n\n<style type=\"text/postcss\">\n\n</style>" | |
], | |
"description": "Create a SvelteKit route component" | |
}, | |
"Create Tailwind style block": { | |
"scope": "svelte,css", | |
"prefix": "tw", | |
"body": [ | |
"<style type=\"text/postcss\">\n\n</style>" | |
], | |
"description": "Create a Tailwind CSS style block" | |
}, | |
"Create SvelteKit Code Component": { | |
"scope": "svelte", | |
"prefix": "svts", | |
"body": [ | |
"<script lang=\"ts\">\n\n</script>" | |
], | |
"description": "Create a SvelteKit code component" | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment