Angular 2 change port No

Hi  Viewers,

How to change the port No in angular 2

1)  Go to project root directory
2)  open angular-cli.json
3) go to defaults parameter and add the port property.

Ex

"defaults": {
    "styleExt": "css",
    "component": {},
"serve": {
            "port": 2500
        }
  }

Comments

Popular posts from this blog

Angular 2 Data Binding

Regex