nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.08k stars 525 forks source link

Datepicker on docs component preview #2651

Open hywax opened 2 hours ago

hywax commented 2 hours ago

For what version of Nuxt UI are you suggesting this?

v3.0.0-alpha.x

Description

After implementing https://github.com/nuxt/ui/issues/2524, it is necessary to add the ability to manage the Date object in the ComponentCode.vue component.

Example of the display:
Image

Additional context

No response

benjamincanac commented 2 hours ago

You need it for the Calendar component? If so, you can make the change directly in your PR 😊

hywax commented 2 hours ago

If we add this functionality to the current PR, it will end up with me creating the Datepicker just for the documentation.

I think we don't need to make any changes in the documentation for now. When the time comes to work on the Datepicker, we can do it then.

Otherwise, it will result in double work.