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?