Skip to content

ng generate route only creates one file? #434

Closed

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.

Activity

  1. Brocco commented on Apr 14, 2016

    @Brocco
    Contributor

    Correct, this is an issue that we're aware of. The routes are currently being implemented to generate the correct files, you can track that via issue #316 and corresponding (in progress as of now pull request #427).

    I'm closing this issue in favor of the referenced issue and PR.

  2. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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