github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/static_source/admin/plop/component/component.hbs (about)

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