Skip to content

Commit 8eb3b3f

Browse files
authored
Merge pull request sdras#58 from pawelmadeja/master
Added vBase with Stylus
2 parents d20add6 + 4192cba commit 8eb3b3f

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ 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 |
41-
| `vbase-ns` | Single file component with no styles |
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 |
42+
| `vbase-ns` | Single file component with no styles |
4243

4344
### Template
4445

snippets/vue.json

Lines changed: 21 additions & 0 deletions
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)