Finding all routable components in a Blazor App

added by DotNetKicks
2/2/2021 10:49:20 AM


In my previous post I showed how you could statically prerender all the routable components in your Blazor WebAssembly app ahead-of-time so that you could host your app in static-file hosting. One of the downsides of the approach in that post, is that you have to manually list all of the routes in your app, so the prerenderer can generate each page.