微信小程序流程两大优势—vs code快速生成H5模板

打开甄选项,进入顾客编号片段

打开html.json,再加编号块

 "Html5-Vue": { "prefix": "vh", "body": [ " !DOCTYPE html ", " html lang=\"zh-CN\" \n", " head ", "\t meta charset=\"UTF-8\" ", "\t meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" ", "\t meta name=\"description\" content=\"\" ", "\t meta name=\"keywords\" content=\"\" ", "\t meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\" ", "\t title Document /title ", "\t script src=\"./lib/vue.min.js\" /script ", " /head \n", " body ", "\t div id=\"app\" $1 /div \n", "\t script ", "\t\tvar vm = new Vue({", "\t\t\tel: '#app',", "\t\t\tdata: {},", "\t\t\tmethods: {}", "\t\t});", "\t /script ", " /body \n", " /html " ], "description": "快速创建在html5编写的vue模板" }

prefix说明关键字

进入编号输入vh便可以运用

原文中联接: luyixian.cn/news_show_316731.aspx   共享资源到: