Skip to content

Serve many apps in the same port #56

@heltonalves99

Description

@heltonalves99

Hi guys, thanks for the attention!

So, I'm trying to serve locally a workspace with 2 apps in the same port, 4200.
I know that I need to pass which app I want to serve.

but if I run that way:
ng serve --project=app1 --port 4200 | ng serve --project=app2 --port 4201

I keeping with the same doubt, running 2 apps in different ports, can access app2 just if a get in 4201 port.

I'm trying by proxy file, when access ':4200/app2' to get into app2.

there is any simplest way to serve many apps just in 4200 port and access them by different routes ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions