亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

angular-cli修改端口號【angular2】

 更新時間:2017年04月19日 09:39:46   作者:Mr_Sparta  
本篇文章主要介紹了angular2中angular-cli修改端口號的相關(guān)知識。具有很好的參考價值。下面跟著小編一起來看下吧

找到node_modules/angular-cli/lib/config/schema.json

default值就是默認(rèn)的端口

"serve": {
 "description": "Properties to be passed to the serve command",
 "type": "object",
 "properties": {
  "port": {
  "description": "The port the application will be served on",
  "type": "number",
  "default": 4200
  },
  "host": {
  "description": "The host the application will be served on",
  "type": "string",
  "default": "localhost"
  }
 }
 }
}

也可以通過命令行方式修改,如:

ng serve --port 4201

以上就是本文的全部內(nèi)容,希望本文的內(nèi)容對大家的學(xué)習(xí)或者工作能帶來一定的幫助,同時也希望多多支持腳本之家!

相關(guān)文章

最新評論