Open BRA1L0R opened 3 years ago
NextJS supports folder slugs and spread slugs while we only support file slugs:
pages/[username]/settings.js
/:username/settings
/foo/settings
pages/post/[...all].js
/post/*
/post/2020/id/title
Need to override the regexp function in tinyhttp. This could be useful.
Moving into 0.2 due to not being a strict priority + time consuming
NextJS supports folder slugs and spread slugs while we only support file slugs:
pages/[username]/settings.js
→/:username/settings
(/foo/settings
)pages/post/[...all].js
→/post/*
(/post/2020/id/title
)