DNX app/Angular2 does not keep the routes in memory
Abdelkrim opened this issue · comments
Abdelkrim from Brussels commented
source of the question: http://stackoverflow.com/questions/36464020/microsoft-dnx-application-angular2-does-not-run-when-deployed-on-azure
in short:
- I have followed this tutorial describing how to build an ASP.NET MVC app using Angular2 and typescript https://ievangelistblog.wordpress.com/2016/01/13/building-an-angular2-spa-with-asp-net-5-mvc-6-web-api-2-and-typescript-1-7-5/
- the menu is correctly displayed using local iisexpress or kestrel servers
- the same menu isn't displayed when the app is deployed on azure
you will find package.json, typings.json, project.json and package.json files on stackoverflow
Murat Girgin commented
I see the menu on the app deployed on Azure: http://marketresearchio.azurewebsites.net/index.
Do you still have the problem?
Murat Girgin commented
Not sure if this is a problem still. Placing in backlog for now
Abdelkrim from Brussels commented
the answer is finally the following: some niminifed js files break the code.
I had to deploy the un-minified versions of the code and the app worked!