H
H
hobu4ok912016-10-30 11:16:12
Apache HTTP Server
hobu4ok91, 2016-10-30 11:16:12

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

1 answer(s)
D
Dmitry Gavrilenko, 2016-10-31
@Maddox

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 question

Ask a Question

731 491 924 answers to any question