国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

angular-cli修改端口號【angular2】

2019-11-19 16:47:49
字體:
來源:轉載
供稿:網友

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

default值就是默認的端口

"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

以上就是本文的全部內容,希望本文的內容對大家的學習或者工作能帶來一定的幫助,同時也希望多多支持武林網!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 浙江省| 辛集市| 厦门市| 郸城县| 贵定县| 高尔夫| 蒙阴县| 江口县| 屏南县| 镇原县| 西林县| 泰来县| 新晃| 璧山县| 鲁甸县| 三穗县| 仁寿县| 曲松县| 安龙县| 周口市| 博野县| 拜城县| 胶南市| 论坛| 资兴市| 苏尼特左旗| 阳原县| 红桥区| 宁安市| 双柏县| 大洼县| 昌黎县| 应用必备| 邹平县| 宁化县| 泾川县| 喀喇沁旗| 大姚县| 鄯善县| 望谟县| 汶川县|