1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Opening locally running Angular Site on mobile?

Discussão em 'Angular' iniciado por Zubair Jamil, Outubro 13, 2024 às 15:55.

  1. Zubair Jamil

    Zubair Jamil Guest

    I'm running Angular Web Site on my local machine.
    I run the command on vs code terminal
    ng serve -o

    Its automatically bundles my website and open the link http://localhost:4200/
    Is there any way, that I can open the same website on my mobile phone as well?


    1. I tried it with a package https://www.npmjs.com/package/http-server it works but I need to add a package and manually run it for a site. Secondly it just host files not the bundled Angular Web Site.


    2. Someone referred me this blog post but Its complex and require extra setup.

    Continue reading...

Compartilhe esta Página