-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
/
basics-content.vue
47 lines (38 loc) 路 1.32 KB
/
basics-content.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<template>
<v-row>
<v-col cols="12" md="4">
<v-card
subtitle="This is a card subtitle"
text="Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus!"
title="This is a title"
></v-card>
<div class="text-center text-caption">Using Props Only</div>
</v-col>
<v-col cols="12" md="4">
<v-card>
<template v-slot:title>
This is a title
</template>
<template v-slot:subtitle>
This is a card subtitle
</template>
<template v-slot:text>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus!
</template>
</v-card>
<div class="text-center text-caption">Using Slots Only</div>
</v-col>
<v-col cols="12" md="4">
<v-card>
<v-card-item>
<v-card-title>This is a title</v-card-title>
<v-card-subtitle>This is a card subtitle</v-card-subtitle>
</v-card-item>
<v-card-text>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi, ratione debitis quis est labore voluptatibus!
</v-card-text>
</v-card>
<div class="text-center text-caption">Using Markup Only</div>
</v-col>
</v-row>
</template>