datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://datahub.io/opensource
MIT License
2.19k stars 326 forks source link

NextJS app router example (upgrade examples to use app router) #1221

Open rufuspollock opened 2 weeks ago

rufuspollock commented 2 weeks ago

Originally posted by @uxdw May 23, 2024

The current [DataHub PortalJS] examples/templates are only for the 'legacy' page router approach for NextJS, it would be great to have an example built for NextSJS 14 using the now recommended App Router approach which no longer utilises getServerProps etc.

rufuspollock commented 2 weeks ago

Nice to do rather than essential. Good first issue for someone.