Skip to content

Commit 52952c3

Browse files
committed
fix vmapmutations prefix
1 parent c1c62d8 commit 52952c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/vue-script.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@
154154
"Vue MapMutations": {
155155
"prefix": "vmapmutations",
156156
"body": [
157-
"import { mapMutations } from 'vuex'",
157+
"import { mapMutations } from 'vuex';",
158158
"",
159159
"export default {",
160160
"\tmethods: {",
161161
"\t\t...mapMutations([",
162162
"\t\t\t${1:'nameOfMutation'}, //also supports payload `this.nameOfMutation(amount)` ",
163163
"\t\t])",
164164
"\t},",
165-
"}"
165+
"};"
166166
],
167167
"description": "mapmutations inside a vue component"
168168
},

0 commit comments

Comments
 (0)