I was developing on my desktop, but because I now want to sync with another app, so I moved the project to HTDOCS. So i moved the project to htdocs, Did composer install, then php artisan key:generate, then php artisan cache:clear. and my front-end was working.
But when I try to access the /admin, the login view is coming up fine. the problem comes when I try to view the dashboard or any other view with an /admin prefix.

PS: I have already tried this
i.e.
php artisan view:clear
php artisan cache:clear
php artisan config:cache
and still no change. I also overwrote some views, but no views related to menus
Edit: Sorry, just saw you already tried those steps.
Nonetheless: this view was removed in 1.2 and you need to adapt your code accordingly.
yeah tried those, with no luck...
I also thought since I was overwriting the view, what if I don't overwrite the menu, so I deleted my view....and the menu came up with no menu items:

also tried overwriting it with {!! menu('admin', 'my_menu') !!} as mentioned here but the menu items are appearing as an unOrdered list
Also opened the original sidebar.blade.php located in \vendor\tcg\voyager\resources\views\dashboard and copied the code that echoes the menu, i.e. <div id="adminmenu">
<admin-menu :items="{{ menu('admin', '_json') }}"></admin-menu>
</div>
menu still comes out blank as image above
Have you solved this issue? We're currently having this issue too.
Just revert the custom changes made to the menu/sidebar/master views to what Voyager delivers and recreate custom changes made before.
Yep that did it, deleting all the custom changes I made restored the menu. Thanks ;)
Also opened the original sidebar.blade.php located in
\vendor\tcg\voyager\resources\views\dashboardand copied the code that echoes the menu, i.e.<div id="adminmenu"> <admin-menu :items="{{ menu('admin', '_json') }}"></admin-menu> </div>menu still comes out blank as image above
thanks it works
I got the same problem and solved by
php artisan view:clear
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
I got the same problem and solved by