Put in order · Next.js course · Module 1: Next.js Configuration

Path to a Dynamic Page

Arrange the path to a dynamic post page in Next.js

Items to put in order

  • posts/
  • pages/
  • .js
  • [id]
Show the answer

Correct order:

  1. pages/
  2. posts/
  3. [id]
  4. .js