datopian / datahub

🌀 Rapidly build rich data portals using a modern frontend framework
https://www.portaljs.org
MIT License
2.21k stars 328 forks source link

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

Open rufuspollock opened 4 months ago

rufuspollock commented 4 months 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 4 months ago

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