vue代码片段

{
    "Print to console": {
            "prefix": "vue",
            "body": [
                    "<template>",
                    "    <div>\n",
                    "    </div>",
                    "</template>\n",
                    "<script>",
                    "export default {",
                    "     name:'',",
                    "    components: {\n",
                    "    },",
                    "    props: {\n",
                    "    },",
                    "    data() {",
                    "        return {\n",
                    "        };",
                    "    },",
                    "    computed: {\n",
                    "    },",
                    "    watch: {\n",
                    "    },",
                    "    created() {\n",
                    "    },",
                    "    mounted() {\n",
                    "    },",
                    "    methods: {\n",
                    "    },",
                    "};",
                    "</script>\n",
                    "<style scoped lang=\"${1:scss}\">\n",
                    "</style>\n",
            ],
            "description": "Create vue template"
    }
}

 

posted @ 2020-12-18 14:28  lzhflzjx  阅读(146)  评论(0编辑  收藏  举报