下面由sublime教程欄目給大家介紹sublime添加vue模板方法,希望對需要的朋友有所幫助!
Sublime 添加vue模板
第一步:
在路徑:Sublime Text 3PackagesSublimeTmpltemplates下新建vue.tmpl文件:
<template> ???? </template><script> </script><style> </style>
第二步:打開 Default.sublime-commands,復制粘貼以下配置
,{ "caption": "Tmpl: Create vue", "command": "sublime_tmpl", "args": {"type": "vue"} }
第三步:添加快捷鍵Default.sublime-keymap
,{ "keys": ["ctrl+alt+e"], "command": "sublime_tmpl", "args": {"type": "vue"}, "context": [{"key": "sublime_tmpl.vue"}] }
第四步:使用ctrl+alt+e就可以建立新的vue模板了
立即學習“前端免費學習筆記(深入)”;
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END