sublime初始vue的代码片段

来源:互联网 发布:linux文件实时同步ftp 编辑:程序博客网 时间:2024/05/19 18:46

sublime初始vue的代码片段

<snippet>    <content><![CDATA[ <template> </template> <script> export default {   name: '${1:component_name}',   data () {     return {     };   },   methods: {   } }; </script> <style lang="${2:scss}" scoped> </style> ]]></content>    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->    <tabTrigger>vuetemplate</tabTrigger>    <!-- Optional: Set a scope to limit where the snippet will trigger -->    <!-- <scope>source.python</scope> -->  </snippet>