cancel
Showing results for 
Search instead for 
Did you mean: 

Is NEO environment suitable for angular2 application

0 Kudos

Hi to everyone, using Cloud Foundry environment I was able to deploy and to use my angular2 application. Actually I was able to do the same for NEO environment using cockpit. I have created HTML5 application, pushed the application code the git repository using the link provided by cockpit, and then created project in SAP WEB IDE and pulled the code from the git repo and finally deployed my app. But the issues is the next:
When I go to the link provided by cockpit I see the main page, but when try to get another page using custom url the server responds: "Page not found' and the reason is known, to avoid it I needed to create file "Staticfile" and add to it the line: "pushstate: enabled". These actions helped me to get workable app on Cloud Foundry environment but the same doesn't work on NEO environment

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nikolay,

Why do you need to run static references to your application's routes?

AFAIK, once your application performs the bootstrapping, you will be able to implement the route navigation according to the framework.

Perhaps you are having another issue with your app that has no relation to the way routing is configured in an Angular application.

Please read the tutorials below:

https://developers.sap.com/tutorial-navigator.html?search=angular

Best regards,
Ivan