I have node.js project with Angular4CLI in folder "UI"
node.js package.json:
...
"scripts": {
"start": "node index.js"
}
...
and Angular package.json:
...
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
}
...
How to start node.js and angular at the same time?
I've tried wrong solutions:
"scripts": {
"start": "node index.js && ng serve",
"start-2": "node index.js && cd .\ui\ && ng serve",
}
Please help. thanks advance
via Olexandr
No comments:
Post a Comment