mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
29
components/lib/card/Card.vue
Executable file
29
components/lib/card/Card.vue
Executable file
|
@ -0,0 +1,29 @@
|
|||
<template>
|
||||
<div class="p-card p-component">
|
||||
<div v-if="$slots.header" class="p-card-header">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div class="p-card-body">
|
||||
<div v-if="$slots.title" class="p-card-title"><slot name="title"></slot></div>
|
||||
<div v-if="$slots.subtitle" class="p-card-subtitle"><slot name="subtitle"></slot></div>
|
||||
<div class="p-card-content">
|
||||
<slot name="content"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.footer" class="p-card-footer">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Card'
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.p-card-header img {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue