vue-pro/yudao-ui-admin-vue3/plop/component/component.hbs
2022-07-18 19:06:37 +08:00

12 lines
262 B
Handlebars

<script setup lang="ts">
import { useDesign } from '@/hooks/web/useDesign'
const { getPrefixCls } = useDesign()
const prefixCls = getPrefixCls('{{ name }}')
</script>
<template>
<div :class="`${prefixCls}-{{ name }}`">{{ upperFirstName }}</div>
</template>