Use these steps for a Lovable project that uses React and Vite.
Add the schedule#
- In Naayya, open Admin → Settings → Storefront → Website embed. In Website code, select Schedule under Which widget?. Under Where is your website built?, choose
Lovable, then select Copy React code. The code is a React component
called
NaayyaSchedule. - In Lovable, ask it to add the component, for example: "Create
src/components/NaayyaSchedule.tsxwith this code, and show<NaayyaSchedule />on the page where people book." Paste the code after your message. - In Lovable’s preview, open the schedule page, go to another page, then come back. If the schedule loads both times, publish your changes.
What your visitors see#
See what visitors can see and book.