component.hbs 262 B

123456789101112
  1. <script setup lang="ts">
  2. import { useDesign } from '@/hooks/web/useDesign'
  3. const { getPrefixCls } = useDesign()
  4. const prefixCls = getPrefixCls('{{ name }}')
  5. </script>
  6. <template>
  7. <div :class="`${prefixCls}-{{ name }}`">{{ upperFirstName }}</div>
  8. </template>