I want to display an Angular4 app on a Apache server. After investigating a good time, this is what I have done so far:
ng build --prod - > A dist folder has been created in my application.
I copied (should I cut it?) and pasted this folder dist into the HTDOCS folder of XAMPP.
I enter my application through:
localhost / dist / my_application
.
I get the following error:
The loading of the source has failed " link ". webapp: 12: 1 Has failed the load of origin " link ". webapp: 24: 1 Ha failed the load of origin " link ". webapp: 24: 1 Ha failed the load of origin " link ".
Can someone guide me a little?