Skip to content

Catch all [[…slug]]

Course: NextJS Part 3 - chapter 5

You can also use double brackets like [[...slug]] to make the catch-all optional (so it can match /docs as well as /docs/anything/here).