Skip to content

Commit

Permalink
feat: add fragment def and model
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Jul 30, 2024
1 parent 6ab5c1a commit a8937d0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
15 changes: 15 additions & 0 deletions component-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,21 @@
}
}
}
},
{
"title": "Fragment",
"id": "fragment",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block/item",
"template": {
"name": "Fragment",
"model": "fragment"
}
}
}
}
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion component-filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"title",
"hero",
"cards",
"columns"
"columns",
"fragment"
]
},
{
Expand Down
10 changes: 10 additions & 0 deletions component-models.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,15 @@
"valueType": "string"
}
]
},
{
"id": "fragment",
"fields": [
{
"component": "aem-content",
"name": "reference",
"label": "Reference"
}
]
}
]

0 comments on commit a8937d0

Please sign in to comment.