根据vue风格指南,进行了实例的选项的顺序推荐
{
"Print to console": {
"prefix": "vue",
"body": [
"<template>",
" <div>
",
" </div>",
"</template>
",
"<script>",
"export default {",
" name:'',",
" components: {
",
" },",
" props: {
",
" },",
" data() {",
" return {
",
" };",
" },",
" computed: {
",
" },",
" watch: {
",
" },",
" created() {
",
" },",
" mounted() {
",
" },",
" methods: {
",
" },",
"};",
"</script>
",
"<style scoped lang="${1:scss}">
",
"</style>
",
],
"description": "Create vue template"
}
}