I'm learning Angularjs4, while I'm trying code everything is fine, that is, executing
ng serve
The problem arises when I try to compile the project for production, the sentence that I execute is the following
ng build --prod
I understand that this sentence must produce the compiled code of angular in the "dist" folder of the project, and in effect the folder is created and filled with different files, among which is an index.html, but when I enter that folder through localhost, the screen keeps the message
Loading ...
It seems that the code is not linking to the framework.