Layout rendering breaking

This is my folder structure while using <FileRoutes/> in SolidStart. Now, a lot of times when I move from /documentation to / (root page), I get the URL to change, but the content of / (root) shows under the content of /documentation. (Please note that when I move from / to /documentation, everything works. It even works when I move from /documentation/article/ to /) Expected:
/documentation
<content-of-documentation-route/>`

/
<content-of-home-route/>
/documentation
<content-of-documentation-route/>`

/
<content-of-home-route/>
However, I'm getting:
/documentation
<content-of-documentation-route/>

/
<content-of-documentation-route/>
<content-of-home-route/>
/documentation
<content-of-documentation-route/>

/
<content-of-documentation-route/>
<content-of-home-route/>
I have tried a lot of different configurations, but this issue persists in one way or another. Any help would be appreciated, as I have been trying to resolve this but haven't found any success yet.
No description
No description
1 Reply
Siddharth
Siddharth3w ago
more clarification, This issue only happens when I load the /documentation page first. 1. refresh on /documentation URL 2. move to / (root). -> does not work I get content of both pages as shown above. If I do this. 1. refresh on / (root) page 2. move to /documentation -> works 3. move to / (root) -> works This works perfectly fine, as expected when I run the build, maybe something wrong with vinxi config, weird.