Angular(2) - Running two projects with CLI

后端 未结 3 1837
半阙折子戏
半阙折子戏 2021-01-04 19:16

I was wondering if it is possible to work on two Angular(2) projects at the same time. I open my first project using ng serve and it runs on the server and when

3条回答
  •  再見小時候
    2021-01-04 19:49

    Open 2nd project then run this command:

    ng serve --port 4210
    

    Change port as you want, then open browser: localhost:[port]

    Following this section:

    https://github.com/angular/angular-cli#generating-and-serving-an-angular-project-via-a-development-server

提交回复
热议问题