lukas-frey / filament-icon-picker

An icon picker field for Filament
MIT License
109 stars 22 forks source link

fix: optimize CSS asset loading by using lazy loading #43

Open abdulmejid-assistentry opened 1 month ago

abdulmejid-assistentry commented 1 month ago

Changes:

  1. Avoided conflicts with other parts of the project where Filament is loading assets. By using lazy loading, the CSS files are only loaded when necessary, ensuring there is no overlap or redundant loading across different sections of the application.
  2. Removed unnecessary CSS loading from areas where it was not needed, based on best practices outlined in the Filament documentation on lazy loading CSS: Lazy Loading Filament CSS