Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Referencing different layouts in Blazor auto mode

$
0
0

Using an ASP.NET Core 8.0 Blazor web app with auto interactive render mode. I cannot figure out how to set a different layout page to certain razor pages that are located in the wasm client project. I see the main layout located in the server project and the wasm components hit that via routes.razor in server.

Tried adding another routes on wasm side, tried adding layouts wasm side, just confused on how to change the layout for certain pages wasm side. For example my login uses blanklayout on server side, but my user pages use userlayout on wasm side.

Thanks for any assistance and where to start.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>