component.ejs.t 286 B

12345678910111213
  1. ---
  2. to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.vue
  3. ---
  4. <script lang="ts" setup>
  5. const props = withDefaults(defineProps<{ prop?: string }>(), { prop: '' });
  6. const { prop } = toRefs(props);
  7. </script>
  8. <template>
  9. <div>
  10. {{ prop }}
  11. </div>
  12. </template>