That's not an entirely Prismic question, but was hoping that someone on here will let me know if this is possible.
Can I create a folder such as
/pages/[folder]/[uid].js as well as
/pages/[uid].js. If I do that, then it says that it can't because there are conflicting IDs since [folder] and [uid] are not the same.
For context, I want to use
/pages/[uid].js for the Page custom type - for pages such as
contact-us while I want to dynamically create folders for content, such as
If it's not possible, I can simple create the folders hard coded (what I've been doing up to now), such as
/resources/[uid].js but then the marketing team will need a bit of development help every time they want to create a new folder.
An alternative which I have not tried is to create a massive file using the catch-all method
pages/[...uid].js but then I see that this file will become a mess, so I want to avoid it.