Skip to content

Commit 4696668

Browse files
authored
Merge branch 'master' into feat/extra-vbase-snippets
2 parents b4aef10 + 329684d commit 4696668

File tree

4 files changed

+49
-4
lines changed

4 files changed

+49
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ jspm_packages
7474
# VS Code
7575
vsc-extension-quickstart.md
7676
*.vsix
77+
.vscode

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
3535
| Snippet | Purpose |
3636
| ----------- | ------------------------------------------ |
3737
| `vbase` | Single file component base with SCSS |
38-
| `vbase-sass` | Single file component base with SASS |
3938
| `vbase-css` | Single file component base with CSS |
40-
| `vbase-less` | Single file component base with LESS |
39+
| `vbase-pcss` | Single file component base with PostCSS |
40+
| `vbase-styl` | Single file component base with Stylus |
4141
| `vbase-ts` | Single file component base with Typescript |
42+
| `vbase-ns` | Single file component with no styles |
43+
| `vbase-sass` | Single file component base with SASS |
44+
| `vbase-less` | Single file component base with LESS |
4245

4346
### Template
4447

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
"language": "vue",
3434
"path": "./snippets/vue.json"
3535
},
36+
{
37+
"language": "jade",
38+
"path": "./snippets/vue-pug.json"
39+
},
3640
{
3741
"language": "html",
3842
"path": "./snippets/vue-template.json"

snippets/vue.json

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,27 @@
104104
],
105105
"description": "Base for Vue File with CSS"
106106
},
107+
"Vue Single File Component with Stylus": {
108+
"prefix": "vbase-styl",
109+
"body": [
110+
"<template>",
111+
"\t<div>",
112+
"",
113+
"\t</div>",
114+
"</template>",
115+
"",
116+
"<script>",
117+
"\texport default {",
118+
"\t\t${0}",
119+
"\t}",
120+
"</script>",
121+
"",
122+
"<style lang=\"stylus\" scoped>",
123+
"",
124+
"</style>"
125+
],
126+
"description": "Base for Vue File with Stylus"
127+
},
107128
"Vue Single File Component with Typescript": {
108129
"prefix": "vbase-ts",
109130
"body": [
@@ -126,6 +147,22 @@
126147
"</style>"
127148
],
128149
"description": "Base for Vue File with Typescript"
129-
}
150+
},
151+
"Vue Single File Component with No Style": {
152+
"prefix": "vbase-ns",
153+
"body": [
154+
"<template>",
155+
"\t<div>",
156+
"",
157+
"\t</div>",
158+
"</template>",
159+
"",
160+
"<script>",
161+
"\texport default {",
162+
"\t\t${0}",
163+
"\t}",
164+
"</script>"
165+
],
166+
"description": "Base for Vue File with no styles"
167+
}
130168
}
131-

0 commit comments

Comments
 (0)