Unable to locate a class or view for component [filament-fabricator.layouts.Main]
Hello, I am using Fabricator package with Filament V2 and it works really great on my local, I get this error on production server on the created pages and dashboard works fine.
I am using MainLayout as the main layout for the page.
Please let me know how do I fix this?
Thank you
8 Replies
This is the error I get
You casing is incorrect, @awcodes would be best to advise. But you need to ensure to use lower case on the layout casing if you have a case senstive system.
Thank you let me try that
$name = 'main;
I tried $name = 'main'
Filament Fabricator: Layout "Main" not found
ask in #fabricator
the plugin dev might not see your question here.
Ok, thank you so muhc.
Thank you so much, the issue was as you mentioned "incorrect casing" I changed the blade filename to Main.blade.php and it worked