I am looking to deploy a project angular (angular 6) to a host (OVH). I did not create my application with Angular CLI so I can't use "ng build "
I've been looking for several weeks What should I do ?
Thank you in advance for your answers.
I am looking to deploy a project angular (angular 6) to a host (OVH). I did not create my application with Angular CLI so I can't use "ng build "
I've been looking for several weeks What should I do ?
Thank you in advance for your answers.
Quick and dirty solution:
ng newsrc/app/ folderI think you need to read this, and than come up with a solution.
https://blog.angularindepth.com/setting-up-angular-from-scratch-1f518c65d8ab
You can add angular cli to your npm, it is global not project specific
npm install -g @angular/cli
than simply write:
ng build —prod
Take the files inside /dist dir and simply put them on a web server
Good luck
ng build because his project is not managed with @angular/cli