This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Description
Everything in the custom app.tsx
currently gets placed into an html <main>
tag.
If I want to create a document template with a <nav>
component, that contains page <Links>
, it is not semantically correct for this to be inside the <main>
unless it is a table of contents or tab navigation within the page itself.
I believe this Custom Document feature of Next.js was made for this purpose, but I don't see a way to currently do this in Aleph.
If that's not planned, would it be simple enough to change the following lines to use something like <div id="aleph-app">
instead of <main>
to give flexibility to the user to adhere to their own semantic nav and main?
|
body: `<main>${customLoading?.body || ''}</main>`, |
|
const mountPoint = document.querySelector('main') |
Thank you for the consideration and work on this project.