refactor: add plop tool
This commit is contained in:
11
plop/template/newModule/index.hbs
Normal file
11
plop/template/newModule/index.hbs
Normal file
@@ -0,0 +1,11 @@
|
||||
<script setup lang='ts'>
|
||||
import { ElButton } from 'element-plus' import { useI18n } from '@/hooks/web/useI18n' import { ref
|
||||
} from 'vue' defineOptions({ name: '{{upperFirstName}}', components: { ElButton }, setup() {} })
|
||||
const { t } = useI18n()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ContentWrap>
|
||||
<ElButton type='primary'>{{name}}</ElButton>
|
||||
</ContentWrap>
|
||||
</template>
|
||||
Reference in New Issue
Block a user