johnpolacek / date-range-picker-for-shadcn

DateRangePicker is a reusable component for shadcn using Radix UI and Tailwind CSS. Includes preset date ranges, text entry, calendar selection and date comparison
https://date-range-picker-for-shadcn-demo.vercel.app/
MIT License
643 stars 24 forks source link

How to work on local environment? #1

Closed adeleke5140 closed 1 year ago

adeleke5140 commented 1 year ago

I wanted to help fix a bug I noticed on mobile for your website and then proceeded to fork the repo. Sadly I wasn't able to run the project locally and inspecting package.json doesn't seem to include any npm script.

Could you give me some pointers?

johnpolacek commented 1 year ago

Follow the steps in the shadcn documentation to configure your project. Then follow the steps in the date range picker instructions as it follows the same pattern as other shadcn ui components.