Parallel routing forcing default.js
Unanswered
Savannah posted this in #help-forum
SavannahOP
Is this the easiest way to force default.js to just render the page? It seems with parallel routing you are forced to have a default.js
import Page from "./page.jsx";
export default async function defaultPage() {
return <Page />;
}1 Reply
SavannahOP
This is my folder structure that is causing me to need this
Desired routing
/app
/chat
[folderID]
[chatID]
settings
settings
@navBarTop
@navBarSide
settingsDesired routing
/chat/
/chat/settings -user settings
/chat/folderid/
/chat/folderid/settings -folder settings
/chat/folderid/chatid
/chat/folderid/chatid/settings -chat settings