预设vue:
1 { 2 // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and 3 // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: 4 // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 5 // same ids are connected. 6 // Example: 7 "create": { 8 "prefix": "vue", 9 "body": [ 10 "<template> <div></div> </template> <script> export default { name:'', data(){ return{} } created(){}, mounted(){}, methods:{} } </script>" 11 ], 12 "description": "create vue" 13 } 14 }