Use nuxt 4 folder structure
This commit is contained in:
17
app/components/Tab/Row.vue
Normal file
17
app/components/Tab/Row.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div px-4 py-6 sm="grid grid-cols-3 gap-4 px-6">
|
||||
<dt flex items-center text-sm text-light-200 font-medium>
|
||||
{{ props.heading }}
|
||||
</dt>
|
||||
<dd flex items-center text-sm text-neutral-300 leading-6 sm="col-span-2 mt-0">
|
||||
{{ props.body }}
|
||||
</dd>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
const props = defineProps<{
|
||||
heading: string
|
||||
body: string
|
||||
}>();
|
||||
</script>
|
Reference in New Issue
Block a user