ProNextJS/declarative-routing

Route Groups not processed correctly

Closed this issue · 1 comments

Hi,

I really like this so far.

I have discovered that if your NextJS app direction includes groups, the generated URLs do not generate correctly.

Groups -> https://nextjs.org/docs/app/building-your-application/routing/route-groups

In the docs example of (folderName). If you use declarative-routing, it generates a URL that includes /(folderName)/theactualpageroute/

Somehow, we need to exclude that portion from the generated url.

Fixed in 0.1.5.