2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
2023-08-22 07:40:07 +00:00
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>A simple Card is created with a <i>title</i> property along with the content as children.</p>
|
|
|
|
</DocSectionText>
|
2024-05-20 12:14:38 +00:00
|
|
|
<div class="mb-4 p-8">
|
2023-08-22 07:40:07 +00:00
|
|
|
<Card>
|
2024-01-23 22:58:13 +00:00
|
|
|
<template #title>Simple Card</template>
|
2023-08-22 07:40:07 +00:00
|
|
|
<template #content>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-08-22 07:40:07 +00:00
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-08-22 07:40:07 +00:00
|
|
|
</Card>
|
2023-02-28 08:29:30 +00:00
|
|
|
</div>
|
2023-08-22 07:40:07 +00:00
|
|
|
<DocSectionCode :code="code" />
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
|
|
|
|
2023-08-22 07:40:07 +00:00
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
|
|
|
basic: `
|
|
|
|
<Card>
|
2024-01-23 22:58:13 +00:00
|
|
|
<template #title>Simple Card</template>
|
2023-08-22 07:40:07 +00:00
|
|
|
<template #content>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-08-22 07:40:07 +00:00
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
|
|
|
</template>
|
2023-10-15 09:38:39 +00:00
|
|
|
</Card>
|
|
|
|
`,
|
2023-08-22 07:40:07 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Card>
|
|
|
|
<template #title>Simple Card</template>
|
|
|
|
<template #content>
|
|
|
|
<p class="m-0">
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
|
|
|
</template>
|
|
|
|
</Card>
|
2023-08-22 07:40:07 +00:00
|
|
|
</template>
|
2023-08-09 13:51:31 +00:00
|
|
|
|
2023-08-22 07:40:07 +00:00
|
|
|
<script>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`,
|
2023-08-22 07:40:07 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Card>
|
|
|
|
<template #title>Simple Card</template>
|
|
|
|
<template #content>
|
|
|
|
<p class="m-0">
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque
|
|
|
|
quas!
|
|
|
|
</p>
|
|
|
|
</template>
|
|
|
|
</Card>
|
2023-08-22 07:40:07 +00:00
|
|
|
</template>
|
2023-08-09 13:51:31 +00:00
|
|
|
|
2023-08-22 07:40:07 +00:00
|
|
|
<script setup>
|
2023-10-15 09:38:39 +00:00
|
|
|
<\/script>
|
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
2023-08-22 07:40:07 +00:00
|
|
|
};
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|