You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, thanks for this package, I've been using caffeinated/modules to great success and am glad to see a themes package as I was previously using a Themes location in caffeinated/modules,
Just getting started with this, it appears step 4 is still required? My routes aren't loaded until that line is added and this line in the document is still present even though there is no longer a ThemeServiceProvider in laravel:
NOTE
Be sure to register your custom service providers within your ThemeServiceProvider. Refer to Laravel's service provider documentation as needed.
I follow installation guide, which is:
laravel new themes
// installed laravelcomposer require caffeinated/themes
// installed packagephp artisan make:theme Bootstrap
// created themeNow works fine if I try to load view, for example
bootstrap::welcome
But routes are not loaded, so I added service provider to config/app.php
Themes\Bootstrap\Providers\ThemeServiceProvider::class
And now I get error Class 'Themes\Bootstrap\Providers\ThemeServiceProvider' not found
So I update main composer.json adding PSR-4 for "themes" folder, this:
And now works fine...
But there is nothing regarding this step in docs, and I think that command for make theme already update composer...
What am I missing?
Thanks
The text was updated successfully, but these errors were encountered: