-- host 0.0.0.0 -- port code example
Example: ng serve local network
CLI command
ng serve --host 0.0.0.0
Or add to package.json
"scripts": {
"local-start": "ng serve --host 0.0.0.0"
}
CLI command
ng serve --host 0.0.0.0
Or add to package.json
"scripts": {
"local-start": "ng serve --host 0.0.0.0"
}