mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 12:17:54 +01:00
docs: lazy load DatePicker component
This commit is contained in:
@@ -10,7 +10,7 @@ const label = computed(() => date.value.toLocaleDateString('en-us', { weekday: '
|
|||||||
<UButton icon="i-heroicons-calendar-days-20-solid" :label="label" />
|
<UButton icon="i-heroicons-calendar-days-20-solid" :label="label" />
|
||||||
|
|
||||||
<template #panel="{ close }">
|
<template #panel="{ close }">
|
||||||
<DatePicker v-model="date" @close="close" />
|
<LazyDatePicker v-model="date" @close="close" />
|
||||||
</template>
|
</template>
|
||||||
</UPopover>
|
</UPopover>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user