Problem with SolidJS router
Hello,
I'm currently making a web application and I can't seem to get this right. I'm trying to create a router hierarchy with a page wrapper containing a navbar, but somehow only my navbar is being rendered, my homepage (or any other pages when I click on them, even if they're just divs with text in this case) isn't.
Main.tsx:
2 Replies
Each route component receives the elements below it as a
children
prop, you need to pass it through:
thank you bro, i have been looking for an answer for days