Skip to content

Commit 824b587

Browse files
committed
Add vbase Stylus snippet
1 parent e8c9caf commit 824b587

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
3232

3333
### Vue
3434

35-
| Snippet | Purpose |
36-
| ----------- | ------------------------------------------ |
37-
| `vbase` | Single file component base with SCSS |
38-
| `vbase-css` | Single file component base with CSS |
39-
| `vbase-pcss`| Single file component base with PostCSS |
40-
| `vbase-ts` | Single file component base with Typescript |
35+
| Snippet | Purpose |
36+
| ------------ | ------------------------------------------ |
37+
| `vbase` | Single file component base with SCSS |
38+
| `vbase-css` | Single file component base with CSS |
39+
| `vbase-pcss` | Single file component base with PostCSS |
40+
| `vbase-styl` | Single file component base with Stylus |
41+
| `vbase-ts` | Single file component base with Typescript |
4142

4243
### Template
4344

snippets/vue.json

+21
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,27 @@
6262
],
6363
"description": "Base for Vue File with CSS"
6464
},
65+
"Vue Single File Component with Stylus": {
66+
"prefix": "vbase-styl",
67+
"body": [
68+
"<template>",
69+
"\t<div>",
70+
"",
71+
"\t</div>",
72+
"</template>",
73+
"",
74+
"<script>",
75+
"\texport default {",
76+
"\t\t${0}",
77+
"\t}",
78+
"</script>",
79+
"",
80+
"<style lang=\"stylus\" scoped>",
81+
"",
82+
"</style>"
83+
],
84+
"description": "Base for Vue File with Stylus"
85+
},
6586
"Vue Single File Component with Typescript": {
6687
"prefix": "vbase-ts",
6788
"body": [

0 commit comments

Comments
 (0)