Hi there,
I noticed that in the stateless-rich-display sample app, it specifies a path of display
on the pui.show()
call. Can anyone explain what display
does? The actual path of the display file is public/app.json
, so I’m guessing that display
has a special meaning – but there’s nothing written in the pui.show()
documentation about this.
Here’s the code:
pui.show({
path: "display",
screen: "main",
data: {
employees: app.employees,
offices: app.offices
}
});
And here’s the workspace file layout:
Thanks!