-
Notifications
You must be signed in to change notification settings - Fork 195
Open
Description
Hello, i'm trying to understand how the controller works.
Here is my code:
themes/demo/navbar/controller.php
<?php
namespace Vendor\Hansschouten\LaravelPagebuilder\Themes\Demo\Blocks\Navbar;
use PHPageBuilder\Modules\GrapesJS\Block\BaseController;
class Controller extends BaseController
{
/**
* Handle the current request.
*/
public function handleRequest()
{
return 'asdf';
}
}
When i open the page builder, it's showing this error:
Class "Vendor\Hansschouten\LaravelPagebuilder\Src\..\Themes\Demo\Blocks\Navbar\Controller" not found
Once i delete the controller.php file, the page builder is working fine, once i create it the error pops up.
Any idea what i'm missing?
PS. - I'm using Laravel 9.52.18
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels