Answer the question
In order to leave comments, you need to log in
How to run an Angular 2 app installed with Angular cli (ng new my-app)?
With this installation, the src directory is created in which index.html and application files are located. And it runs on a node js server. And how to run on a regular apache?
Answer the question
In order to leave comments, you need to log in
By default, the files to run are in the dist folder. Its content must be hosted. If the folder is empty, then you need to run ng build. ng build -prod - for release project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question