graphcommerce
graphcommerce copied to clipboard
Make it possible to have a generic url's for static pages instead of /pages/...
Describe the feature you'd like to request
At the moment it ain't possible to have url's for pages such as /about or /privacy. Instead, you need to create static pages like /pages/about or /pages/privacy, due to file based routing in NextJS.
Describe the solution you'd like
I would like to have the opportunity to create pages without /pages in their url. As an example for the about page. At the moment we can only create (or route to) such a page by passing /pages/about as the url. Instead I would like to just have /about.
Describe alternatives you've considered
As an alternative you can create a directory/routing in your project named "about". But this won't be as generic because you would have to do this for all locales and page types.