vscode封装HTML代码片段

{html:5: {prefix: hv,body: [!DOCTYPE html,html,head,\tmeta charset=\UTF-8\,\tmeta name=\viewport\ content=\width=device-width, initial-scale=1.0\,\tmeta http-equiv=...

{
    "html:5": {
        "prefix": "hv",
        "body": [
            "<!DOCTYPE html>",
            "<html>",
            "<head>",
                "\t<meta charset=\"UTF-8\">",
                "\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
                "\t<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">",
                "\t<title></title>",
                "\t<script src=\"https://cdn.jsdelivr.net/npm/vue\"></script>",
            "</head>",
            "<body>",
                
            "</body>",
            "<script>",
                
            "</script>",
            "</html>",
        ],
        "description": "HTML5"
    }
}

 

本文标题为:vscode封装HTML代码片段

基础教程推荐