Replacing AppLayout in @layout with Custom Implementation

I am trying to replace the AppLayout in @layout with shadcn SidebarProvider or for that matter it can be any custom dashboard implementation with sidebar.

I am trying with latest Hilla + React, and shadcn configuration done.

I have two question:

  1. is this even supported to replace AppLayout for custom implementation?

  2. any code sample or pointer to documentation?

looking forward to your help!

Atleast if you build your routing yourself without @layout, it is then naturally possible to construct your mainlayout anyway you like.

I have example of setup without @layout here

It is still using AppLayout, but I think you can connect the dots here.

1 Like

thanks Tatu for giving it a look, and sharing repo.

I tried with custom route, created MainLayout and deleted @layout or @index etc, I can see the side navigation bar as expected.