Skip to content

Commit 7086834

Browse files
committed
fix vimport-lib prefix
1 parent 52952c3 commit 7086834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snippets/vue-script.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,15 +169,15 @@
169169
"Vue MapActions": {
170170
"prefix": "vmapactions",
171171
"body": [
172-
"import { mapActions } from 'vuex'",
172+
"import { mapActions } from 'vuex';",
173173
"",
174174
"export default {",
175175
"\tmethods: {",
176176
"\t\t...mapActions([",
177177
"\t\t\t${1:'nameOfAction'}, //also supports payload `this.nameOfAction(amount)` ",
178178
"\t\t])",
179179
"\t},",
180-
"}"
180+
"};"
181181
],
182182
"description": "mapactions inside a vue component"
183183
},
@@ -221,7 +221,7 @@
221221
},
222222
"Vue Import Library": {
223223
"prefix": "vimport-lib",
224-
"body": ["import { ${1:libName} } from '${1:libName}'"],
224+
"body": ["import { ${1:libName} } from '${1:libName}';"],
225225
"description": "import a library"
226226
},
227227
"Vue Import GSAP": {

0 commit comments

Comments
 (0)