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
bookshop/cds-plugin.js Normal file
View File

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

View File

@@ -21,5 +21,12 @@
"genres": "cds serve test/genres.cds",
"start": "cds run",
"watch": "cds watch"
},
"cds": {
"requires": {
"bookshop-services": {
"model": "@capire/bookshop"
}
}
}
}