You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have a completely non-interactive Blazor web app, just static pages.
We want to set the custom font family to Comic Sans MS.
As per the docs this can be done in MainLayout in the
OnAfterRenderAsync
method.https://www.fluentui-blazor.net/DesignTokens#example
Issues is, this method is only invoked if the component has rendered interactively.
In our case, this lifecycle method is never invoked, which means
await BodyFont.WithDefault("Comic Sans MS");
is never invoked.How do we address this issue?
Beta Was this translation helpful? Give feedback.
All reactions