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

Radzen Theme not applying in Blazor Web App

$
0
0

So, my App.razor looks like this:

    @using Radzen.Blazor<Router AppAssembly="@typeof(App).Assembly"><Found Context="routeData"><RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /><FocusOnNavigate RouteData="@routeData" Selector="h1" /></Found><NotFound><PageTitle>Not found</PageTitle><LayoutView Layout="@typeof(MainLayout)"><p role="alert">Sorry, there's nothing at this address.</p></LayoutView></NotFound></Router><head><RadzenTheme Theme="material" @rendermode="RenderMode.InteractiveWebAssembly" /><link rel="stylesheet" href="_content/Radzen.Blazor/css/material3-base.css"></head><script src="_content/Radzen.Blazor/Radzen.Blazor.js?v=@(typeof(Radzen.Colors).Assembly.GetName().Version)"></script>

It simply doesn't apply, but when I apply dark.cs it works, why? is it a bug with radzen?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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