nikhilbolla / vgse-admin-dashboard

https://vgse-admin-dashboard.vercel.app
0 stars 0 forks source link

Did you found the revalidatepath solution ? #1

Open hyper-dot opened 6 months ago

nikhilbolla commented 6 months ago

export const revalidate = 0; is the solution. By default they all are static pages. I put this line and converted them into dynamic pages. For path revalidation and created a function on separate file that takes URL of the page as the input and I exported that function for all places that required on demand revalidation.