Skip to content

ng generate route only creates one file? #434

Closed
@ghost

Description

I am filing a bug. Windows 10.

$ ng --version
angular-cli: 0.0.31
node: 4.4.3
os: win32 ia32

I just tested generation of routes, and it doesn't work like documented?

 C:\Projects\temp\youjustgo-client
$ ng generate route hero
installing route
  create \src\client\app\hero\hero.ts

only one file is created, not all the files as documented?
The hero.ts file just contains one component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions