Skip to content

Instantly share code, notes, and snippets.

@mykeels
Last active November 4, 2018 12:14
Show Gist options
  • Save mykeels/3151b1c4579c3b387319f633145d7e9a to your computer and use it in GitHub Desktop.
Save mykeels/3151b1c4579c3b387319f633145d7e9a to your computer and use it in GitHub Desktop.
VS Code User Snippets for Vue templates
{
"Vue Template": {
"prefix": "VueTemplate",
"body": [
"<template>",
"\t$0",
"</template>",
"",
"<script>",
"\texport default {",
"\t\tprops: {",
"\t\t\t$1",
"\t\t},",
"\t\tcomputed: {",
"\t\t\t$2",
"\t\t},",
"\t\tdata () {",
"\t\t\treturn {",
"\t\t\t\t$3",
"\t\t\t}",
"\t\t},",
"\t\tcomponents: {",
"\t\t\t$4",
"\t\t},",
"\t\tmethods: {",
"\t\t\t$5",
"\t\t},",
"\t\tmounted () {",
"\t\t\t$6",
"\t\t}",
"\t}",
"</script>",
"",
"<style>",
"\t",
"</style>"
],
"description": "Vue Template"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment