To add handlebars components to a page, we recommend you use the Page Templates in Aurora Designer. However, you can manually add a Handlebars component to a quilt.
Add a Handlebars component to a quilt using page templates
See Page Templates documentation for adding a Handlebars component to a page.
Add a Handlebars component to a quilt manually
To add a handlebars component to a quilt manually, you need to update the quilt JSON file.
For example, to add the TopMembers component to the CommunityPage quilt, you need to override or update the override of the CommunityPage.quilt.json
file (or a Quilt Template override of it for core-node overrides, once those become available) in the quilts directory.
To add the handlebars component, use the below code:
{
"wrapper" : null,
"id" : "custom.widget.TopMembers"
}
ATLAS
Comments