ng2 配置端口號

ng2 默認端口號4200  若要配置,用兩種方法node

(1)可使用如下命令  ng server --port 4201json

(2)找到node_modules/angular-cli/lib/config/schema.json 
default值就是默認的端口server

相關文章
相關標籤/搜索