How to create a localhost server to run an AngularJS project

前端 未结 13 810
迷失自我
迷失自我 2020-11-29 15:56

i have used Xampp and JetBrain WebStorm to run an AngularJS project. But it\'s complicated and low performance.Is there any other way to run an AngularJS project?

13条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 16:33

    • Run
    ng serve

    This command run in your terminal after your in project folder location like ~/my-app$

    • Then run the command - it will show the URl NG Live Development Server is listening on localhost:4200

    • Open your browser on http://localhost:4200

提交回复
热议问题