Lovelace include files

Hi,

I am creating a new dashboard. On every view I have a menu that I want to write once and include in every view. But this seems not working. I am trying this:

    cards:
      - type: vertical-stack
        cards: !include ../lovelace_menu.yaml
        view_layout:
          grid-area: menu
      - type: horizontal-stack
        cards:

Would the above include not possible? Is there another way?

“include” may only be used in yaml mode

mmmh, that’s a pity.