Solid Start offline indicator in mobile / desktop app

Hi I am looking to include <OfflineIndicator/> in my app when the user goes offline in mobile / desktop app. Is there any way I can include it on all of my routes or I have to include it myself all of them?
2 Replies
Madaxen86
Madaxen863mo ago
You can add it to app.tsx or create a layout at the root of the routes directory (assuming you are using file routes) https://docs.solidjs.com/solid-start/building-your-application/routing#nested-layouts
Jason.json
Jason.jsonOP3mo ago
xd

Did you find this page helpful?