Angular2 doesn't seem to be working client side when publishing with VS Code #1358

Closed
opened 2025-08-09 17:19:50 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @levarcooper on 9/28/2016

I'm running the ANGULAR2SPA app in VS Code and everything seems to be working fine with the exception of the following:

  • Increment button is not working/ (click)="function()" is completely removed on page load
  • Pages are reloading when switching between views

When I run the application from VS 2015 Professional, everything works perfectly. I disabled javascript in my browser and it works exactly as it did with "dotnet run" and VS Code. I checked the browser to make sure vendor.js was loaded. Is there anything in VS Code that would prevent would prevent javascript from running? Obviously I'm just working from VS 2015 but I use VS Code when working on a Mac so I wanted to know if anyone else experienced similar issues.

*Originally created by @levarcooper on 9/28/2016* I'm running the ANGULAR2SPA app in VS Code and everything seems to be working fine with the exception of the following: - Increment button is not working/ (click)="function()" is completely removed on page load - Pages are reloading when switching between views When I run the application from VS 2015 Professional, everything works perfectly. I disabled javascript in my browser and it works exactly as it did with "dotnet run" and VS Code. I checked the browser to make sure vendor.js was loaded. Is there anything in VS Code that would prevent would prevent javascript from running? Obviously I'm just working from VS 2015 but I use VS Code when working on a Mac so I wanted to know if anyone else experienced similar issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1358
No description provided.