Combine e.g. !include, !include_dir_list or use multiple times

I’ve split up my views into different folders, e.g. mobile, tablet, shared.
The idea is to be able to have mobile specific views for my mobile dashboard, tablet specific views for my tablet dashboard and then let both use everything in shared.

Using this method, I have to include each view separately in my dashboard config, e.g.

views:
- !include "../mobile/...
- !include "../mobile/...
- !include "../mobile/...
- !include "../mobile/...

- !include "../shared/...
- !include "../shared/...
- !include "../shared/...
- !include "../shared/...
- !include "../shared/...

I can’t use e.g. !include_dir_list as far as I’ve understood since they’re in two different directories and I don’t want to use it on their parent directory as that would include the tablet specific views. Is there a way to achieve this?

I use:

views: !include_dir_list 1-overview/

and then each .yaml file in the 1-overview directory starts like this:

title: Overview
path: dash
icon: mdi:glasses
cards:

They load in alphabetical order (so I prefix each one with a number to sequence them).
Does that help?

Did you ever figure this out? I’m trying to do a similar thing where I want to include 2 folders of decluttering card templates in a dashboard; one folder of dashboard specific templates and one folder of shared templates.