Last active
December 6, 2023 18:55
-
-
Save seantunwin/ad0797ceb2a206ada80f3227c359d52f to your computer and use it in GitHub Desktop.
Vue 3 SFC VSCode Snippet
This file contains hidden or 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
"Vue 3 SFC": { | |
"scope": "javascript, typescript, vue", | |
"prefix": "vue-sfc", | |
"body": [ | |
"<script setup lang=\"ts\">", | |
"\t$1", | |
"</script>", | |
"\n", | |
"<template>", | |
"\t<${2:div}>", | |
"\t\t", | |
"\t</${2:div}>", | |
"</template>", | |
"\n", | |
"<style scoped lang=\"scss\">", | |
"\t", | |
"</style>" | |
], | |
"description": "Vue 3 SFC boilerplate using `setup`, `typescript`, `scss` with `script`, `template`, `style` tag ordering" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment