Enable routing on existing angular 8 project code example Example: add angular routing to existing project ng generate module app-routing --flat --module=app