added vscode extensions
This commit is contained in:
parent
7cde0829be
commit
26e2a50441
316 changed files with 37301 additions and 0 deletions
91
.vscode/extensions/johnsoncodehk.volar-0.27.21/templates/vue.code-snippets
vendored
Normal file
91
.vscode/extensions/johnsoncodehk.volar-0.27.21/templates/vue.code-snippets
vendored
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
// Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and \${1:label}, \${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "template": {
|
||||
// "scope": "vue",
|
||||
// "prefix": "template",
|
||||
// "body": [
|
||||
// "<template>",
|
||||
// " $1",
|
||||
// "</template>"
|
||||
// ],
|
||||
// "description": "Create <template> block"
|
||||
// },
|
||||
// "script": {
|
||||
// "scope": "vue",
|
||||
// "prefix": "script",
|
||||
// "body": [
|
||||
// "<script lang=\"ts\">",
|
||||
// "import { defineComponent } from 'vue';",
|
||||
// "",
|
||||
// "export default defineComponent({",
|
||||
// " $2",
|
||||
// "});",
|
||||
// "</script>"
|
||||
// ],
|
||||
// "description": "Create <script> block"
|
||||
// },
|
||||
// "script setup": {
|
||||
// "scope": "vue",
|
||||
// "prefix": "script setup",
|
||||
// "body": [
|
||||
// "<script lang=\"ts\" setup>",
|
||||
// "defineProps<{ $1 }>();",
|
||||
// "</script>"
|
||||
// ],
|
||||
// "description": "Create <script setup> + <script> blocks"
|
||||
// },
|
||||
// "style": {
|
||||
// "scope": "vue",
|
||||
// "prefix": "style",
|
||||
// "body": [
|
||||
// "<style lang=\"scss\" scoped>",
|
||||
// "$1",
|
||||
// "</style>"
|
||||
// ],
|
||||
// "description": "Create <style> block"
|
||||
// },
|
||||
// "v-for": {
|
||||
// "scope": "html",
|
||||
// "prefix": "v-for",
|
||||
// "body": [
|
||||
// "<template v-for=\"$1 in $2\">",
|
||||
// " $3",
|
||||
// "</template>"
|
||||
// ],
|
||||
// "description": "Create html tag with v-for"
|
||||
// },
|
||||
// "v-if": {
|
||||
// "scope": "html",
|
||||
// "prefix": "v-if",
|
||||
// "body": [
|
||||
// "<template v-if=\"$1\">",
|
||||
// " $2",
|
||||
// "</template>"
|
||||
// ],
|
||||
// "description": "Create html tag with v-if"
|
||||
// },
|
||||
// "v-else-if": {
|
||||
// "scope": "html",
|
||||
// "prefix": "v-else-if",
|
||||
// "body": [
|
||||
// "<template v-else-if=\"$1\">",
|
||||
// " $2",
|
||||
// "</template>"
|
||||
// ],
|
||||
// "description": "Create html tag with v-else-if"
|
||||
// },
|
||||
// "v-else": {
|
||||
// "scope": "html",
|
||||
// "prefix": "v-else",
|
||||
// "body": [
|
||||
// "<template v-else>",
|
||||
// " $2",
|
||||
// "</template>"
|
||||
// ],
|
||||
// "description": "Create html tag with v-else"
|
||||
// }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue