Links only with routes?

Hey guys, I`m newbie here, I want to know if links only works with routes.js? Because my app will have multiples pages, like more than 1000.

So I’ll separate by categories/folders like



and need to put all lines separated in routes.js?


Check routes documentation, you can use one route for this where you can pass parameters to routes, e.g. /pages/:categoryId/:fileId/ and use async routes to load the required data based on category and file

1 Like

Thanks bro, saved my life about changing framework haha!!