question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ng generate doesn't have route blueprint

See original GitHub issue

OS?

Any

Versions.

@angular/cli: 1.0.0-rc.0 node: 6.9.5

Repro steps.

The main site Angular CLI says that ng generate can “Generate components, routes, services …” however ng generate doesn’t have route blueprint

Mention any other details that might be useful.

So, please change the site or even better, add support for generating routes in the future release. Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
killrazorcommented, Mar 2, 2017

Routes haven’t been in CLI for a while. They probably just haven’t updated that specific wording on the website.

0reactions
angular-automatic-lock-bot[bot]commented, Jun 3, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Invalid blueprint: route when using angular cli and 404
I want to share how I solve this problem. Use ng generate component task to generate a new component; Then manually add the...
Read more >
ng new - Angular
Option Description Value Type Default Value ‑‑commit Initial git repository commit information. boolean true ‑‑directory The directory name to create the workspace in. string ‑‑force Force...
Read more >
Common Routing Tasks - Angular
This topic describes how to implement many of the common tasks associated with adding the Angular router to your application.
Read more >
Generating code using schematics - Angular
A schematic is a template-based code generator that supports complex logic. ... collection are run by default by the commands ng generate and...
Read more >
Lazy-loading feature modules - Angular
Next, create the module without the --route parameter. If ng generate module with the --route parameter returns an error, but runs correctly without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found