Reputation: 83
I am using a laravel voyager package and there is a need to update the menu. Despite updating their admin_menu.vue in the component folder, the changes are not being reflected. Also, I run below command :
php artisan cache:clear
npm update
npm run watch-poll
Upvotes: 2
Views: 2379
Reputation: 51
I had the same problem when using the voyager json menu menu('admin', '_json')
after inserting menu_items records directly into database, the changes where not reflecting. The solution was to run
php artisan optimize:clear
Upvotes: 5
Reputation: 1620
I had the same problem and fixed it by updating permission_role
table manually.
You can look up all the missing permissions in permissions
table and user id you want to update menu for in the users
table. After that you can update permission_role
correctly.
Upvotes: 1