Skip to content

Commit 7d51a0f

Browse files
author
Sandro Das Neves
committed
add a vbase with css
1 parent 73b212f commit 7d51a0f

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ _or_
2626
ext install Vue VSCode Snippets
2727
```
2828

29-
You can enable tab completion (recommended) by opening `Code > Preferences > Settings` (on a Mac) and applying `"editor.tabCompletion": true` to your personal settings
3029
You can enable tab completion (recommended) by opening `Code > Preferences > Settings` (on a Mac) and applying `"editor.tabCompletion": "onlySnippets"` to your personal settings
3130

3231
## Snippets
@@ -36,6 +35,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
3635
| Snippet | Purpose |
3736
| ---------- | ------------------------------------------ |
3837
| `vbase` | Single file component base |
38+
| `vbase-css`| Single file component base with Css |
3939
| `vbase-ts` | Single file component base with Typescript |
4040

4141
### Template

snippets/vue.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,27 @@
2020
],
2121
"description": "Base for Vue File"
2222
},
23+
"Vue Single File Component with Css": {
24+
"prefix": "vbase-css",
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 scoped>",
39+
"",
40+
"</style>"
41+
],
42+
"description": "Base for Vue File"
43+
},
2344
"Vue Single File Component with Typescript": {
2445
"prefix": "vbase-ts",
2546
"body": [

0 commit comments

Comments
 (0)