Last active
November 4, 2018 12:14
-
-
Save mykeels/3151b1c4579c3b387319f633145d7e9a to your computer and use it in GitHub Desktop.
VS Code User Snippets for Vue templates
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
{ | |
"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