I would like to organize my blocks by putting them into directories by type. but have not been able to find a working solution for the templates.
I have been able to implement a partial solution by using namespaces: App\Blocks\Hero;
/Blocks
/Hero
Hero1.php
Hero2.php
I have not been able to find a working solution for the templates. Is there some combination of slug, view, etc. that can create this structure that I have misunderstood?
I would like to organize my blocks by putting them into directories by type. but have not been able to find a working solution for the templates.
I have been able to implement a partial solution by using namespaces:
App\Blocks\Hero;
I have not been able to find a working solution for the templates. Is there some combination of
slug
,view
, etc. that can create this structure that I have misunderstood?