Replies: 1 comment
-
with blade components you don't need to register them when using just a view but the filename should match the reference. For example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I created a class component within a module but when I call it, it seems that the render function is never called. Here is my setup :
Blade::component('Website::website-table', WebsiteTable::class );
<x-website::websitetable/>
This doens't generate any error, but the content of Resources/views/components/website-table.blade.php is not shown and neither the constructor, nor the render method of Resources/views/components/WebsiteTable.php is called.
Do you have any idea on what I'm doing wrong here ?
Beta Was this translation helpful? Give feedback.
All reactions