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

3
reviews/cds-plugin.js Normal file
View File

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

View File

@@ -12,6 +12,10 @@
},
"cds": {
"requires": {
"ReviewsService": {
"kind": "odata",
"model": "@capire/reviews"
},
"messaging": {
"[development]": { "kind": "file-based-messaging" },
"[hybrid]": { "kind": "enterprise-messaging-shared" },