You've may know the basics about instancing your Angular app via command line environment with ng serve yada yada yada, but do you know how to build bundle your app for distribution/deployment?
ng build --prod
command will create dist (distribution folder with javascript bundles).
Then with the generated files in the dist folder, you need simply upload to deployment (site host) and your site should be up and running. You can google search to do deployment to AWS (amazon) or any other site hosting solution.
No comments:
Post a Comment