标签:device 直接 创建 strong code script div 关键字 vsc
ctrl+alt+P
通过关键字Preference
找到配置用户代码块。html
回车。 "vh": {
"prefix": "vh", // 触发的关键字 输入vh按下tab键
"body": [
"<!DOCTYPE html>",
"<html lang=\"en\">",
"",
"<head>",
" <meta charset=\"UTF-8\" />",
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />",
" <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\" />",
" <title>Document</title>",
" <script src=\"./lib/vue-2.4.0.js\"></script>",
"</head>",
"<body>",
" <!-- 被vm 实例所控制的区域 -->",
" <div id=\"app\"></div>",
"",
" <script>",
" // 创建实例对象",
" const vm=new Vue({",
" // 指定控制的区域",
" el:'#app',",
" data:{},",
" methods:{}",
" });",
" </script>",
"</body>",
"",
"</html>",
],
"description": "vh components"
}
标签:device 直接 创建 strong code script div 关键字 vsc
原文地址:https://www.cnblogs.com/SsoZhNO-1/p/12322573.html