File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
41
41
| ` vbase-pcss ` | Single file component base with PostCSS |
42
42
| ` vbase-styl ` | Single file component base with Stylus |
43
43
| ` vbase-ts ` | Single file component base with Typescript |
44
+ | ` vbase-ts-class ` | Single file component base with Typescript Class Format |
44
45
| ` vbase-3-ts ` | Single File component Composition API with Typescript |
45
46
| ` vbase-ns ` | Single file component with no styles |
46
47
| ` vbase-sass ` | Single file component base with SASS |
Original file line number Diff line number Diff line change 246
246
" </style>"
247
247
],
248
248
"description" : " Base for Vue File Composition API - Typescript"
249
- }
249
+ },
250
+ "Vue Single File Component with Class based Typescript format" : {
251
+ "prefix" : " vbase-ts-class" ,
252
+ "body" : [
253
+ " <template>" ,
254
+ " \t <div>" ,
255
+ " " ,
256
+ " \t </div>" ,
257
+ " </template>" ,
258
+ " " ,
259
+ " <script lang=\" ts\" >" ,
260
+ " \t import { Component, Vue } from 'vue-property-decorator';" ,
261
+ " " ,
262
+ " \t @Component" ,
263
+ " \t export default class ${0} extends Vue {" ,
264
+ " \t\t " ,
265
+ " \t }" ,
266
+ " </script>" ,
267
+ " " ,
268
+ " <style scoped>" ,
269
+ " " ,
270
+ " </style>"
271
+ ],
272
+ "description" : " Base for Vue File with Class based Typescript format"
273
+ }
250
274
}
You can’t perform that action at this time.
0 commit comments