Blazor WebAssembly Environment Variables
问题 I'm currently working on a .NET Standard 2.1 Blazor WebAssembly application. I try to include or exclude Stylesheets according to an environment variable. In .NET Core there are usually Environment Tag Helpers like in the following example: <environment include="Development"> <link rel="stylesheet" href="css/style.css" type="text/css" /> </environment> <environment exclude="Development"> <link rel="stylesheet" href="css/style.min.css" type="text/css" /> </environment> This works perfectly