Skip to content

Commit 510ead5

Browse files
committed
added v-base-pcss for PostCSS
1 parent 273b980 commit 510ead5

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
3636
| ----------- | ------------------------------------------ |
3737
| `vbase` | Single file component base |
3838
| `vbase-css` | Single file component base with CSS |
39+
| `vbase-pcss`| Single file component base with PostCSS |
3940
| `vbase-ts` | Single file component base with Typescript |
4041

4142
### Template

snippets/vue.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,28 @@
1818
"",
1919
"</style>"
2020
],
21-
"description": "Base for Vue File"
21+
"description": "Base for Vue File with SCSS"
22+
},
23+
"Vue Single File Component with postcss": {
24+
"prefix": "vbase-pcss",
25+
"body": [
26+
"<template>",
27+
"\t<div>",
28+
"",
29+
"\t</div>",
30+
"</template>",
31+
"",
32+
"<script>",
33+
"\texport default {",
34+
"\t\t${0}",
35+
"\t}",
36+
"</script>",
37+
"",
38+
"<style lang=\"postcss\" scoped>",
39+
"",
40+
"</style>"
41+
],
42+
"description": "Base for Vue File with PostCSS"
2243
},
2344
"Vue Single File Component with Css": {
2445
"prefix": "vbase-css",
@@ -39,7 +60,7 @@
3960
"",
4061
"</style>"
4162
],
42-
"description": "Base for Vue File"
63+
"description": "Base for Vue File with CSS"
4364
},
4465
"Vue Single File Component with Typescript": {
4566
"prefix": "vbase-ts",

0 commit comments

Comments
 (0)