next-routes icon indicating copy to clipboard operation
next-routes copied to clipboard

Compatibility with getStaticPaths

Open dhacquebord opened this issue 4 years ago • 1 comments

Hi,

Did anyone succeed in using this module in combination with getStaticPaths?

It appears that getStaticPaths needs the dynamic routes to be placed in a filename like pages/users/[id].js but i can't find a way to make this module work with these filenames.

What i'm trying to achieve is changing /users/:id to /gebruikers/:id and statically render them using getStaticProps and getStaticPaths.

dhacquebord avatar Jun 15 '20 15:06 dhacquebord

I have the same issue, did you find a workaround?

DonovanCharpin avatar May 18 '22 17:05 DonovanCharpin