Where to put RadzenTheme tag in WASM app

Found a way to use RadzenTheme in standalone WASM app. Put it in your MainLayout.razor like this:

<HeadContent>
    <RadzenTheme Theme="material" />
</HeadContent>

Then it should play nicely with the ThemeService and you would be able to switch themes at runtime.

Will update the getting started instructions shortly.

2 Likes