-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class 'Menu' not found #31
Comments
Let me know where to put the following code:
|
Hi, I just installed the package, and I am clueless as to which file the --- Menu:create function ---- to be added so that the Menu is available across the website. did you manage to find it? Thank you for your help. |
If anyone else is looking for the same answer, here's how to call the Menu. 1. Create in app/Support/menus.php
|
Class 'Menu' not found in {dir}\config\support\menus.php.
In the file
{dir}\config\support\menus.php
, I added the following code:In the file config.app, i added:
but when i run, i received error:
Class 'Menu' not found in {dir}\config\support\menus.php
I tried adding the
config\support\menus.php
file to thecomposer.json
file:"autoload": { "files": ["config/support/menus.php"] }
I still received error
Class 'Menu' not found in {dir}\config\support\menus.php
The text was updated successfully, but these errors were encountered: