ASP.NET CORE 9 Blazor serviert keine statischen OrdnerC#

Ein Treffpunkt für C#-Programmierer
Anonymous
 ASP.NET CORE 9 Blazor serviert keine statischen Ordner

Post by Anonymous »

Ich füge wwwroot in Visual Studio 2022 und Blazor .NET 9 hinzu. Ich kann in der CSS keine Schriftarten verwenden.

Code: Select all

@font-face {
font-family: BNazanin;
src: url(Fonts/BNazanin.TTF);
}

@font-face {
font-family: BNazaninBold;
src: url(Fonts/BNazaninBold.TTF);
}

@font-face {
font-family: BNazaninOutline;
src: url(Fonts/BNazaninOutline.TTF);
}

@font-face {
font-family: BTitr;
src: url(Fonts/BTitrBold.TTF);
}
Und es zeigt diesen Ordner nicht im Browser:

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post