Dan Van Brunt
10/07/2021, 8:53 PMapp.stage
from within a deeper nested construct? For example… if we wanted to access it from within StaticSite
Frank
this.node.root
will give u the App
object. So this.node.root.stage
. If you are using TypeScript, you can do this:
const root = scope.node.root as App;
root.stage