DemoListDensity.vue
734 Bytes
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
<script setup>
const items = [
{
title: 'halvah icing marshmallow',
value: 1,
},
{
title: 'Cake caramels donut danish muffin biscuit',
value: 2,
},
{
title: 'Chocolate cake pie lollipop',
value: 3,
},
{
title: 'Apple pie toffee pudding gummi bears',
value: 4,
},
{
title: 'Jujubes chupa chups cheesecake tart',
value: 5,
},
{
title: 'Candy fruitcake bonbon sesame snaps dessert',
value: 6,
},
{
title: 'Candy wafer tiramisu sugar plum sweet.',
value: 7,
},
{
title: 'Toffee gingerbread muffin macaroon cotton candy bonbon lollipop.',
value: 8,
},
]
</script>
<template>
<VList
density="compact"
:items="items"
/>
</template>