Reputation: 2400
What software do I need on the Web server to Angular 2 app to get it working? Or I can just upload the files to the web server?
Upvotes: 0
Views: 272
Reputation: 121
Do you use angular-cli? (I'd recommend you to use it if you haven't). Because you just can do this command on your terminal
ng build -prod --output-path=path/to/home/of/web/server/
What it does, it builds your app and generate dist
folder, in this case because you specified the output, it directly generate the dist content inside the path.
Hope it helps.
Upvotes: 1
Reputation: 798
Yes, just upload files. Angular is a JavaScripts framework that runs on web browser.Just make sure your all TyperScipt files are complied in JavaScript.
Upvotes: 0