Defining dynamic paths
Usage
{
"flow": [
{
"path": "agent/$index",
"components": [...]
}
]
}{
"flow": [
{
"path": "agent/$index",
"components": [...]
"next": {
"type": "jsonlogic",
"schema": {
"if": [
{
"<": [{"var": "route.params.index"}, 1]
},
{
"cat": ["agent/", {"+": [{"var": "route.params.index"}, 1]}]
},
"summary"
]
}
}
}
]
}Last updated