其他分享
首页 > 其他分享> > vue代码片段

vue代码片段

作者:互联网

{
    "vue1": {
        "prefix": "vue1",
        "body": [
            "<template>",
            "  <div></div>",
            "</template>",
            "",
            "<script>",
                "  export default {",
                "    name:'$0'",
                "  }",
            "</script>",
            "",
            "<style scoped>",
            "  ",
            "</style>",
        ],
        "description": "Vue组件"
    },
    "vue2": {
        "prefix": "vue2",
        "body": [
            "<template>",
            "  ",
            "</template>",
            "",
            "<script>",
                "  export default {",
                "    name:'$0'",
                "  }",
            "</script>",
            "",
            "<style lang=\"less\" scoped>",
            "  ",
            "</style>",
        ],
        "description": "Vue组件"
    },
    "checked": {
        "prefix": "checked",
        "body": [
            "checked",
        ],
        "description": "checked"
    },
    "length": {
        "prefix": "length",
        "body": [
            "length",
        ],
        "description": "length"
    },
    "hasOwnProperty": {
        "prefix": "hasOwnProperty",
        "body": [
            "hasOwnProperty",
        ],
        "description": "hasOwnProperty"
    }
}

 

标签:body,片段,vue,checked,description,代码,length,prefix,hasOwnProperty
来源: https://www.cnblogs.com/renjianwushu/p/16251765.html