The following tutorial column will introduce you to the method of adding vue templates in Sublime. I hope it will be helpful to friends who need it!
Sublime Add vue template
First step:
Create a new vue.tmpl file under the path: Sublime Text 3PackagesSublimeTmpltemplates:
##
Step 2: Open Default.sublime-commands and copy Paste the following configuration
,{ "caption": "Tmpl: Create vue", "command": "sublime_tmpl", "args": {"type": "vue"} }
Copy after login
Step 3: Add the shortcut key Default.sublime-keymap
,{ "keys": ["ctrl+alt+e"], "command": "sublime_tmpl", "args": {"type": "vue"}, "context": [{"key": "sublime_tmpl.vue"}] }
Copy after login
Step 4: Use ctrl alt e to create a new vue template
The above is the detailed content of How to add vue template to Sublime. For more information, please follow other related articles on the PHP Chinese website!