ng2 默認端口號4200 若要配置,用兩種方法node
(1)可使用如下命令 ng server --port 4201json
(2)找到node_modules/angular-cli/lib/config/schema.json default值就是默認的端口server