Using Drupal 8/9's UI templates module
You don’t need to do anything for UI templates module to be able to find templates in your module in a templates folder.
At least,
You don’t need to do anything for UI templates module to be able to find templates in your module in a templates folder.
At least,