-2

I use this command for create myProject :

ng new myProject

Instead of :

ng new myProject --routing

So , I dont have app-routing.modules.ts file in myProject/src/app/

How can I alter myProject with angular-cli,to add some options that I forget them?

Mojtaba Arvin
  • 679
  • 1
  • 10
  • 21

1 Answers1

2

You can use this command to generate routing module

ng generate module app-routing --flat --module=app