spatie/laravel-dashboard

Unable to locate a class or view for component [dashboard].

Closed this issue · 0 comments

I'm using the Spatie Laravel Dashboard in Laravel Framework 8.49.0 and in my local machine (MacOS Big Sur / MAMP Pro / PHP 7.4) everything is working fine, but when I deployed to a production machine I get the error "Unable to locate a class or view for component [dashboard]."

I'm following the instructions in https://spatie.be/docs/laravel-dashboard/v2/basic-usage/creating-your-first-dashboard and have several custom made tiles. I believe both local and production systems are case sensitive, so I have no idea what the problem can be.

I'm trying to fix this for days with no success. Can you please help?