Home > Development Tools > sublime > body text

Sublime adds vue template

藏色散人
Release: 2019-09-02 14:29:09
forward
2661 people have browsed it

Vue是一套构建用户界面的渐进式框架,下面由sublime使用教程栏目为大家介绍Sublime 添加vue模板的方法,非常简单,希望对需要的朋友有所帮助!

Sublime adds vue template

Sublime 添加vue模板

第一步:

在路径:Sublime Text 3PackagesSublimeTmpltemplates下新建vue.tmpl文件:

Sublime adds vue template

<template>
    
</template>
<script type="ecmascript-6">
    
</script>
<style rel="stylesheet">
    
</style>
Copy after login

第二步:打开 Default.sublime-commands,复制粘贴以下配置

,{
        "caption": "Tmpl: Create vue", "command": "sublime_tmpl",
        "args": {"type": "vue"}
    }
Copy after login

第三步:添加快捷键Default.sublime-keymap

,{
        "keys": ["ctrl+alt+e"], "command": "sublime_tmpl",
        "args": {"type": "vue"}, "context": [{"key": "sublime_tmpl.vue"}]
    }
Copy after login

第四步:使用ctrl+alt+e就可以建立新的vue模板了

Sublime adds vue template

The above is the detailed content of Sublime adds vue template. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!