Open Closed

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


User avatar
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)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I will check it

  • User Avatar
    1
    rabbitstack created

    Hi,

    I will check it

    I'm having the same issue.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

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

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