angular5 - deploy your app to production


The easier way is to do this

ng build --prod

Copy everything from your folder called 'dist' over.

If your target host machine are not able to access CDNs for javascript or css, you can copy and save into a style.css and run this command, which essentially will generate javascripts and css files. 



Comments

Popular posts from this blog

A quick tutorial for OWASP ZAP tool for beginners

ionic2 cordova build android - Unable resolve gradle 2.2.3