Next.js Discord

Discord Forum

Access to router in components

Unanswered
Highlander posted this in #help-forum
Open in Discord
HighlanderOP
I planned to make a tree router side component which i can use on one page that displays all routes from my app. like when i have a structure like this:
app /
docs /
page1
page2
guide /
page1
page2
page

a methode would return an array with all paths

0 Replies