I'm new to AngularJS 2 and I'm stuck!
I want to deploy an application (for example, quickstart) on Windows Server 2012. I already installed Apache tomcat on it. What I did: I used the npm build command (with and without "-prod") to generate the dist folder (output: index.html and package files), after which I placed it in the "webapps" folder in tomcat and then tried page using my browser, the index page shows me "Loading ..."! I think angular is not working ...
I tried installing NodeJs on the server and then creating a simple project (npm install -g angular-cli) and running it on the server .. it works on localhost (server), but on my machine using "IP_of_sv: Port" Chrome gives me error "ERR_CONNECTION_REFUSED"!
Can you please help me with simple explanations?
Thank you in advance!
source share