ng generate doesn't have route blueprint
See original GitHub issueOS?
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 …” howeverng generate
doesn’t haveroute
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:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Routes haven’t been in CLI for a while. They probably just haven’t updated that specific wording on the website.
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.