refactor(ui): new c-table ui component

This commit is contained in:
Corentin Thomasset 2023-10-15 00:38:10 +02:00
parent a757a5155a
commit 69a0a09969
No known key found for this signature in database
GPG key ID: DBD997E935996158
11 changed files with 442 additions and 50 deletions

View file

@ -0,0 +1,6 @@
---
to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.demo.vue
---
<template>
<<%= h.changeCase.param(name) %> />
</template>

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>