Skip to content

mj-include unable to load included template when no unique root element #502

@LorenzoLeonardini

Description

@LorenzoLeonardini

When the included file doesn't have a unique root element, the parser fails with the "unable to load included template" error message:

<mj-button> Test </mj-button>
<mj-button> Test </mj-button>

It seems like a root node is needed:

<mj-column>
  <mj-button> Test </mj-button>
  <mj-button> Test </mj-button>
</mj-column>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions