Run the command
1 |
ng build |
or
1 |
ng build -prod (then it will compact all files for production version) |
Second Step:
Change in index.html
1 |
<base href="/"> to <base href="./"> |
Third Step:
Put all files into server(may be htdocs in localhost or any server)