美文网首页
WebStorm建立.vue文件模板

WebStorm建立.vue文件模板

作者: waka | 来源:发表于2017-02-07 15:05 被阅读351次

打开Webstorm的Preference

在Editor -> File and Code Templates中点击+号新建.vue模板,输入模板代码保存即可

之后在工程目录里右键新建文件,即可看到.vue文件

新建.vue文件

附我的模板代码:

<template>

</template>

<script>
    export default {};
</script>

<style lang="scss" rel="stylesheet/scss" scoped>

</style>

相关文章

网友评论

      本文标题:WebStorm建立.vue文件模板

      本文链接:https://www.haomeiwen.com/subject/tlxmittx.html