refactor: add plop tool

This commit is contained in:
niyonggui
2022-03-27 10:09:35 +08:00
parent e0297f4a9b
commit 28530b2744
5 changed files with 2987 additions and 527 deletions

View 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>