No option to add route directly?
aditya61085 opened this issue · 4 comments
aditya61085 commented
I didnt find command to directly add route to application with components. Is there any?
ericmdantas commented
Nope.
What client framework are you using?
aditya61085 commented
I am using angular 2.
I was looking something similar to https://angular-fullstack.github.io/generators/route/
I just switched from this as they dont have ang2 support yet.
ericmdantas commented
I see.
Right now for ng2, in the todo app, the route lives in the same folder as the component. I'll have to check out how the other client frameworks prefer to have the routes separated, so I can implement the subgenerator.
ericmdantas commented
Will be solved in each framework - also v2
.