Open poi33 opened 1 year ago
There is no easy way to access the regions of pages or layouts.
The field PageAsJson does include it, but not as its own field
PageAsJson
The components paths usually do have a textual representation of this. But it needs to be split out of a path string.
Is it possible to add regions so its easier to insert them into a frontend page?
Query
get () { components { path } }
Result
{ get: { components: { path: "/main/0" } } }
There is no easy way to access the regions of pages or layouts.
The field
PageAsJson
does include it, but not as its own fieldThe components paths usually do have a textual representation of this. But it needs to be split out of a path string.
Is it possible to add regions so its easier to insert them into a frontend page?
Query
Result