Open Closed

[6.0.0-rc.2] Issue loading Lepton-X theme styles #3559


0
scott7106 created
  • ABP Framework version: v6.0.0-rc.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Steps to Reproduce

  1. created a new Angular project with Suite v6.0.0-rc.2 named Acme.BookStore using the Lepton-X theme
  2. Ran DbMigrator
  3. Started the host project
  4. Click Authorize on the Swagger page

The returned page is not formatted properly and I get the following errors in the console of the browser.

  • Refused to apply style from 'https://localhost:44392/Themes/LeptonX/Global/side-menu/css/system.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
  • Refused to apply style from 'https://localhost:44392/Themes/LeptonX/Global/side-menu/css/bootstrap-system.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

The login page works, but the styling is missing due to the errors above.


3 Answer(s)
  • 0
    liangshiwei created
    Support Team

    Hi,

    I will check it

  • 1
    rabbitstack created

    Hi,

    I will check it

    I'm having the same issue.

  • 0
    liangshiwei created
    Support Team

    Hi,

    I created an internal issue for this. it should be fixed in the next patch version. BTW your ticket was refunded.