WebStorm模板

文件模版变量

  • ${PACKAGE_NAME} name of the package in which the new file is created
  • ${USER} current user system login name
  • ${DATE} current system date
  • ${TIME} current system time
  • ${YEAR} current year
  • ${MONTH} current month
  • ${MONTH_NAME_SHORT} first 3 letters of the current month name. Example: Jan, Feb, etc.
  • ${MONTH_NAME_FULL} full name of the current month. Example: January, February, etc.
  • ${DAY} current day of the month
  • ${HOUR} current hour
  • ${MINUTE} current minute
  • ${PROJECT_NAME} the name of the current project

文件模版

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
30
31
32
33
34
<!--
* @Date: ${DATE} ${TIME}
* @Author: ${USER}
* https://xuebin.me/
* Created with JetBrains WebStorm.
-->
<template lang="pug">
.page-group
.page.page-current
</template>

<script>
import {mapState, mapGetters, mapMutations, mapActions} from 'vuex'
import * as types from '../store/mutation-types'
export default{
name: '',
components: {},
data:()=>({}),
created(){},
mounted(){},
watch: {},
computed: {
...mapState({}),
...mapGetters({}),
},
methods: {
...mapActions([]),
...mapMutations({}),
}
}
</script>

<style scoped lang="scss" rel="stylesheet/scss">
</style>
坚持原创技术分享,您的支持将鼓励我继续创作!
  • 本文作者: Leo
  • 本文链接: https://xuebin.me/posts/9a3b4cca.html
  • 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!