Created
July 25, 2019 16:31
-
-
Save doronguttman/52768cdc190d5f20c427b7a7d5cb983f to your computer and use it in GitHub Desktop.
vue.js scaffold TypeScript class 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
{ | |
"Vue component scaffold": { | |
"prefix": "vue component scaffold", | |
"body": [ | |
"import { Component, Vue } from \"vue-property-decorator\";", | |
"", | |
"@Component", | |
"export default class ${1:${TM_FILENAME_BASE/([-]?)([a-z])([a-z]*)/${2:/upcase}${3}/g}} extends Vue {", | |
"\t${0}", | |
"}", | |
"" | |
], | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment