Open Closed

CSS isolation through abp (MVC) #4201


User avatar
0
WilliamT created
  • ABP Framework version: v6.0.1
  • UI type: MVC
  • DB provider: EF Core (SQL Server)
  • Tiered (MVC) or Identity Server Separated (Angular): yes (MVC)
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi guys i tried to implement css isolation like in this example https://asp.net-hacker.rocks/2021/05/10/aspnetcore6-08-css-isolation.html so i created index.cshtml & index.cshtml.css, but i can't find _layout.cshtml to include it in the bundle. can someone guide me?

Thanks.


3 Answer(s)
  • User Avatar
    0
    malik.masis created

    Hi,

    ABP framework provides the .net features. There is no restriction for that. Also, could you have a look at this documentation, please? It's an example project that contains _layout.cshtml. Could you look at it, please?

    Regards.

  • User Avatar
    0
    WilliamT created

    Hi,

    Thanks for the reply, unfortunately I am looking for the isolation instead of bundling for global use. does ABP has a feature for that? the provided link does not do the css specific to 1 .cshtml

    Regards,

  • User Avatar
    0
    malik.masis created

    Hi William,

    Sorry for the misunderstanding.

    Abp framework doesn't have this feature however you can use this feature on Asp .Net Core. There is no restraint in the Abp framework.

    I hope this article helps you.

    Regards.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11