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>
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="card">
|
2023-08-22 07:40:07 +00:00
|
|
|
<Card>
|
|
|
|
<template #title> Simple Card </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
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>
|
|
|
|
<template #title> Simple Card </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
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>`,
|
|
|
|
options: `
|
|
|
|
<template>
|
|
|
|
<div class="card">
|
|
|
|
<Card>
|
|
|
|
<template #title> Simple Card </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
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>
|
|
|
|
</div>
|
|
|
|
</template>
|
2023-08-09 13:51:31 +00:00
|
|
|
|
2023-08-22 07:40:07 +00:00
|
|
|
<script>
|
|
|
|
<\/script>`,
|
|
|
|
composition: `
|
|
|
|
<template>
|
|
|
|
<div class="card">
|
|
|
|
<Card>
|
|
|
|
<template #title> Simple Card </template>
|
|
|
|
<template #content>
|
|
|
|
<p>
|
|
|
|
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>
|
|
|
|
</div>
|
|
|
|
</template>
|
2023-08-09 13:51:31 +00:00
|
|
|
|
2023-08-22 07:40:07 +00:00
|
|
|
<script setup>
|
|
|
|
<\/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>
|