'Deploy custom Angular 6 app to Cumulocity Tenant
We are trying to create a custom app using Angular 6. We managed to deploy an Angular 2 app using this ( https://github.com/tastejs/todomvc/tree/gh-pages/examples/angular2 ) example, adding the cumulocity.json file and zipping it.
With Angular 6 we are using Angular CLI to create a project, and used "ng build" to build the app but when we zip the content of the dist folder, even when adding cumulocity.json to it, we only get a blank page when deploying it to the tenant (it's working with "ng serve" on my computer). Any hints how we should proceed or what we are missing?
Thanks :)
Solution 1:[1]
Kindly check this link, maybe this is your answerCLick
When you build your angular app after checking the doc. After that, you are going to make the zip. Before making zip open index.html inside your build folder and add a "/" on-base href. CLICK IMG your href shd look like this
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | JYOTIRMOY MUKHOPADHYAY |
