Parallel Routing 404 Page?
Unanswered
necm1 posted this in #help-forum
necm1OP
Hey!
I'm curious if there is any possibility to create multiple not-found pages especially for parallel routings? I've build a template system using parallel routings, but sadly it's only (currently) possible to have one global
Structure is something like this:
It's kinda acting like a multi-tenant application using multiple templates (requesting backend for template and load them).
I'm curious if there is any possibility to create multiple not-found pages especially for parallel routings? I've build a template system using parallel routings, but sadly it's only (currently) possible to have one global
not-found.tsx which seems to kinda odd to me.Structure is something like this:
app/
(template)
@template1
// routes here - different components to load
@template2
// same routes here - differente components to load
layout.tsxIt's kinda acting like a multi-tenant application using multiple templates (requesting backend for template and load them).
2 Replies
necm1OP
I sovled it in a completly different way using custom logic like I did before with the multi-templating. I don't think thats a good idea and maybe a good approach to change this behaviour to make it possible to have multiple 404 pages depending on the nested routes
sticking to one global not found kinda limits us