I was listening to a Drupal Developer on youtube and one of the suggestions he has, is that when you go into a template folder, create some subdirectories for easier management, like this:
Templates ->Blocks ->Fields ->YourField.html.twig ->Nodes
So I want to do the same thing for my template folder, however when I do that, I get this error:
Twig\Error\LoaderError: Template "modules/custom/task/templates/field--expire-date.html.twig" is not defined.
Now granted, I learned with Drupal that Twig + Theming Templates is different than Twig + Module Templates. I am using my own module.
Is there a way for me to tell Twig there is another subdirectory (Ex: Fields Folder), so it can find the code?