How to build and run a Angular Webapp

Discussão em 'Angular' iniciado por BurritoMan, Novembro 28, 2024.

  1. BurritoMan

    BurritoMan Guest

    I have a problem. I need to build my angular application. I don’t mean just to start it. I mean to build it with ng build (in production) and then to start it to test it. It should be like a first release of the app.

    The problem is: I built it, then the dist folder was created. In this folder I have browser and server. Now I read that I have to use http server. I did this, but when I connect with the http which is shown in the terminal I don’t see my Webapp. I just see a white screen with the dist folder and all the folders in it. All the files.

    Why does this happen ? What did I wrong and what to do to fix this?

    I also work with C# backend and this one manages all the data together with my database.

    I read that my application has ssr activated. I don’t know if this is the problem.

    I don’t know what to do. Could someone help me? It took all my energy for the day

    Continue reading...

Compartilhe esta Página