mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<div class="p-card p-component">
|
||||
<div class="p-card-header" v-if="$slots.header">
|
||||
<div v-if="$slots.header" class="p-card-header">
|
||||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div class="p-card-body">
|
||||
<div class="p-card-title" v-if="$slots.title"><slot name="title"></slot></div>
|
||||
<div class="p-card-subtitle" v-if="$slots.subtitle"><slot name="subtitle"></slot></div>
|
||||
<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 class="p-card-footer" v-if="$slots.footer">
|
||||
<div v-if="$slots.footer" class="p-card-footer">
|
||||
<slot name="footer"></slot>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -19,7 +19,7 @@
|
|||
<script>
|
||||
export default {
|
||||
name: 'Card'
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue