title: how to deploy angular2 app built using angular-cli
body: <p>I have created n new angular app using angular-cli.</p>
  
  <p>I completed the app and preview it using ng-serve, it is working perfectly.</p>
  
  <p>After that I used <em>ng build --prod</em>, that generates the 'dist' folder. When I put that folder in xampp to run, it is not working. I found that there is no *.js files, which should be in there after *.ts -> *.js conversion (i suppose).</p>
  
  <p>I have attached the screenshot, in which on left side it is showing the src folder having all .ts files, On middle it is showing the 'dist' folder and browser screenshot.</p>
  
  <p>Please guide me how can I generate fully working app from angular-cli, which I can run in my xampp server.</p>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/lqXmL.png" alt="Screenshot"></p>