3x1io / filament-themes

FrontEnd Themes Manager For Filament Admin
https://github.com/3x1io/filament-themes
MIT License
33 stars 8 forks source link

Warning #3

Closed erenergul closed 1 year ago

erenergul commented 2 years ago

Warning: Ambiguous class resolution, "Themes\main\controllers\HomeController" was found 2x: in "/Users/..../www/filament/resources/views/themes/main/controllers/HomeController.php" and "/Users/..../www/filament/vendor/3x1io/filament-themes/resources/views/themes/main/controllers/HomeController.php", the first will be used.

Hi , Whats the reason behind it ? Its working but i can't use theme vendor controller. Should i change my controller name ? If it is not break anything , Thats fine but want to know whats going on behind scenes.

3x1io commented 1 year ago

I will fix it and build a command to generate a new theme, so the package will start with empty themes and you can add a new theme by this command

php artisan filament-themes:generate
3x1io commented 1 year ago

it's done now you can check it.