Use Angular 2 without NodeJS after build

1

I'm developing an Angular 2 application using Webpack .

My doubts are, once you build for production:

  • Can I run this app without the NodeJS ?
  • Can I run the Angular 2 app without any server, right in the browser?
  • If you need to use any server, can I use others like TomCat ?
asked by anonymous 21.12.2016 / 13:23

1 answer

0

Can I run this app without NodeJS?

  

If I run it would be to develop I think not, but after you finish   you can use the ng build command and this will generate your files   compiled from there no longer needs.

Can I run the Angular 2 app with no server, right in the browser?

  

No, need a server you can use any here has a   list of the most common.

If you need to use any server, can I use others like TomCat?

  

Yes as I answered above.

    
13.09.2018 / 16:10