Angular 2 application with no server?

298
February 22, 2017, at 9:23 PM

How to run Angular 2 application without running a server? I need to take just one folder which contains index.html (some css, js additionally)

Answer 1

If you use angular-cli you can do ng build --prod. The index.html will be in the dist folder.

READ ALSO
Node.js JSON.stringify variables not expanding

Node.js JSON.stringify variables not expanding

I am working on a nodejs API for an app with a simple TCP server that accepts NDJSON (essentially delimited by '\r\n')

361
deploying nodejs webserver via visual studio to AWS

deploying nodejs webserver via visual studio to AWS

I am trying to deploy a nodejs server to AWS beanstalk, but using the "deploy to aws beanstalk" failsIf I zip the folder and upload it via the management console everything is fine

418