DEV Community

Mayank
Mayank

Posted on

Answer: next dynamic routes 404 firebase hosting

For dynamic routes to work, you have to use server functions. You can use experimental frameworks feature by Firebase.

Checkout - https://firebase.google.com/docs/hosting/nextjs

Next.js advanced (dynamic) routing does not work without server functions.

Follow these steps:

  1. Delete your existing Firebase files and folders such as firebase.json and .firebase etc. And update…

Top comments (0)