Build your app: ng build --prod
Install http-server for serving the app: npm i -g http-server
cd (change directory) into the the build location and run the app with: http-server
Open http-server url appending /index.html to it, should look something like this
Available on:
http://192.168.1.27:8080
http://127.0.0.1:8080
Thank you for keep reading. If you liked the article, please hit the 👏button; if you want to see more articles follow me on medium😘.
If you have any doubt or suggestion🤔 when going through this practical, please leave us a comment below👌.
See you in upcoming articles😊. Keep in touch with Dev.to. 🤗🤗
Top comments (0)