Basic Example
Minimal example of how to pass views through stack component
section.recipe.json
{
"name": "section",
"type": "CORE:UiRecipe",
"description": "stack recipe",
"plugin": "@development-framework/dm-core-plugins/stack",
"config": {
"type": "PLUGINS:dm-core-plugins/list/ListPluginConfig",
"items": [
{
"type": "CORE:InlineRecipeViewConfig",
"recipe": {
"name": "box",
"type": "CORE:UiRecipe",
"plugin": "custom-box-plugin",
"config": {
"type": "PLUGINS:custom-box-plugin-blueprint",
"content": "Item 1"
}
}
},
{
"type": "CORE:InlineRecipeViewConfig",
"recipe": {
"name": "box2",
"type": "CORE:UiRecipe",
"plugin": "custom-box-plugin",
"config": {
"type": "PLUGINS:custom-box-plugin-blueprint",
"content": "Item 2"
}
}
},
{
"type": "CORE:InlineRecipeViewConfig",
"recipe": {
"name": "box3",
"type": "CORE:UiRecipe",
"plugin": "custom-box-plugin",
"config": {
"type": "PLUGINS:custom-box-plugin-blueprint",
"content": "Item 3"
}
}
}
]
}
}
Section.blueprint.json
{
"name": "Section",
"type": "CORE:Blueprint",
"description": "",
"attributes": [
{
"name": "type",
"type": "dmss://system/SIMOS/BlueprintAttribute",
"attributeType": "string",
"optional": false
}
]
}
sections.entity.json
{
"type": "./Section",
"_id": "1179c897-df62-445f-87e4-f393b4253936"
}