Open Closed

Angular - MIME Type ('text/html') is not supported stylesheet Error #5268


User avatar
0
sukhdeep.dhillon created
  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core

Hi,

When I update the @volosoft/abp.ng.theme.lepton-x package to its latest version then I'm getting the following error:


2 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Support Team Angular Expert

    Hello,

    Can you add codes below to angular.json > styles section

    {
      "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.css",
      "inject": false,
      "bundleName": "font-bundle"
    },
    {
      "input": "node_modules/@volosoft/ngx-lepton-x/assets/css/font-bundle.rtl.css",
      "inject": false,
      "bundleName": "font-bundle.rtl"
    }
    

    Example

  • User Avatar
    0
    sukhdeep.dhillon created

    Thank you, It worked

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09