I've been trying to deploy my finished angular project to my free panel hosting. I'm a newbie in Angular, and I can only host using Firebase which is quite simple with Angular CLI.
I'd appreciate it if I could get a detailed explanation or a post/blog that explains it in details.
ng build --prod
https://github.com/angular/angular-cli/wiki/build
copy files from your dist folder to the host
done
The dist folder will contain static files including an index.html . This is all you need to host your app.
You can deploy to Netlify. Find the reference:https://scotch.io/tutorials/deploying-an-angular-app-to-netlify
I have hosted my angular website, you can check: https://christian-matrimony.netlify.app/#/home
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.