Skip to content

Commit bce8f2b

Browse files
committed
1 parent e8c9caf commit bce8f2b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

snippets/vue.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,30 @@
8484
"</style>"
8585
],
8686
"description": "Base for Vue File with Typescript"
87+
},
88+
"Vue Single File Component with Class based Typescript format": {
89+
"prefix": "vbase-ts-class",
90+
"body": [
91+
"<template>",
92+
"\t<div>",
93+
"",
94+
"\t</div>",
95+
"</template>",
96+
"",
97+
"<script lang=\"ts\">",
98+
"\timport { Component, Vue } from 'vue-property-decorator';",
99+
"",
100+
"\t@Component",
101+
"\texport default class ${0} extends Vue {",
102+
"\t\t",
103+
"\t}",
104+
"</script>",
105+
"",
106+
"<style scoped>",
107+
"",
108+
"</style>"
109+
],
110+
"description": "Base for Vue File with Class based Typescript format"
87111
}
88112
}
89113

0 commit comments

Comments
 (0)