Orion's Studio.

WebStorm文件模板

2017/12/14

Vue文件头注释(自用)

1
2
3
4
5
6
7
<!--
@Author: orion
@Descrition: a test note
@Date: 2017/12/14 15:34
@Modified by:
@Modify time:
-->

File -> Settings -> Editor -> File and Code Templates 添加 vue 后缀模板

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!--
@Author: ${USER}
@Descrition: ${Descrition}
@Date: ${DATE} ${TIME}
@Modified by:
@Modify time:
-->
<template>
<div>

</div>
</template>

<script type="text/ecmascript-6">
export default {
name: '${NAME}',
components: {},
data () {
return {}
},
filters: {},
methods: {},
mounted () {}
}
</script>

<style scoped lang="less">

</style>
CATALOG
  1. 1. Vue文件头注释(自用)