Philip
Philip
CC#
Created by Philip on 8/17/2024 in #help
C# Blazor CSS Isolation
I've been trying to get CSS isolation to work for ages now, and no information online seems to be working. It seems fairly straight forward when following a guide like this https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-8.0 And does work as intended when creating a new project, but not on this project here, which I've been working on for a while: https://github.com/KNPhilip/BlazorEcommerce/tree/fix/cssHell I found out it's not necessarily the Assembly name, as stated by a lot of different posts, but rather the project id. I have been following this guide to get to the bottom of it: https://stackoverflow.com/questions/76975644/blazor-css-isolation-and-the-packageid but even that static handling of the id doesn't work either! I feel like I have no options left. Any CSS Isolation wizards here who might be able to help a feller out?
4 replies