Skip to content

ng generate route only creates one file? #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Apr 13, 2016 · 2 comments
Closed

ng generate route only creates one file? #434

ghost opened this issue Apr 13, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2016

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.

@Brocco
Copy link
Contributor

Brocco commented Apr 14, 2016

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.

@Brocco Brocco closed this as completed Apr 14, 2016
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant