Compose with cds-plugins

This commit is contained in:
Daniel Hutzel
2023-07-26 17:01:15 +02:00
parent cdcfdafbdc
commit dfb7d80849
13 changed files with 65 additions and 24 deletions

View File

@@ -0,0 +1,3 @@
cds.once('bootstrap',(app)=>{
app.serve ('/data') .from('@capire/data-viewer','app/viewer')
})

View File

@@ -9,5 +9,12 @@
"app",
"srv",
"index.cds"
]
}
],
"cds": {
"requires": {
"orders-service": {
"model": "@capire/data-viewer"
}
}
}
}