refactor(ui): new c-table ui component (#665)

This commit is contained in:
Corentin THOMASSET 2023-10-15 00:45:14 +02:00 committed by GitHub
parent cbf58fdd28
commit ee4c853b9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 442 additions and 50 deletions

View file

@ -0,0 +1,13 @@
---
to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.vue
---
<script lang="ts" setup>
const props = withDefaults(defineProps<{ prop?: string }>(), { prop: '' });
const { prop } = toRefs(props);
</script>
<template>
<div>
{{ prop }}
</div>
</template>