Extend templates from outside templates directory
You need to define and register your template roots for this folder:

Event::on(
    View::class,
    View::EVENT_REGISTER_SITE_TEMPLATE_ROOTS,
    function(RegisterTemplateRootsEvent $e) {{
        $e-&gt;roots['my-fancy-prefix'] = 'someDir';
    }
);