Skip to content

Commit afadc02

Browse files
committed
docs(all.md): update display name for all component list items
1 parent cc3a9a8 commit afadc02

File tree

2 files changed

+67
-66
lines changed

2 files changed

+67
-66
lines changed

packages/docs/src/components/components/ListItem.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<v-col cols="4">
33
<v-card
44
:image="image"
5-
:to="rpath(`/components/${name}/`)"
5+
:to="rpath(`/components/${src}/`)"
66
class="mb-3"
77
elevation="0"
88
height="164"
@@ -23,12 +23,13 @@
2323
2424
const props = defineProps({
2525
name: String,
26+
src: String,
2627
placeholder: Boolean,
2728
})
2829
2930
const image = computed(() => {
3031
if (props.placeholder) return 'https://cdn.vuetifyjs.com/docs/images/graphics/img-placeholder.png'
3132
32-
return `https://cdn.vuetifyjs.com/docs/images/preview/${props.name}.png`
33+
return `https://cdn.vuetifyjs.com/docs/images/preview/${props.src}.png`
3334
})
3435
</script>

0 commit comments

Comments
 (0)