Angular just show index.html and blank screen after build

Discussão em 'Angular' iniciado por AmirHossein, Novembro 11, 2024.

  1. AmirHossein

    AmirHossein Guest

    based on Angular's official website, we should run "ng build" command to create files ready for hosting ( in dist folder ). But after running it, there is no content in index.html. Only the title of the page and if you run it or host it, you will only see a blank page. While if you run the ng serve command, the content will be displayed correctly. What is the problem? Thanks.

    Continue reading...

Compartilhe esta Página