Open Closed

Lepton Theme CSS Not Loaded Automatically in Angular Project #8214


User avatar
0
mert.kir created
  • ABP Framework version: v8.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server, PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes (Auth Server Separated)
  • Steps to reproduce the issue:
  1. Create a new ABP project using the following command: abp new MyApp -u angular -t app-pro --theme lepton -m none --separate-auth-server --database-provider ef -csf
  2. Start the Angular project and open the homepage. Notice that the CSS for the Lepton theme is not loaded.
  3. To resolve this, set one of the CSS files (e.g., lepton5.min.css) to inject: true in the angular.json file.
  4. After restarting the application, the page loads with Style 5. However, switching to other theme styles does not work as expected.

Expected behavior: The theme should automatically inject the necessary CSS files when loading, without manual intervention.


No answer yet!
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35