You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flow is confusing at the moment and took me a while to figure out that I had to go to a different directory.
I'd like to be able to go to my directory, then yo ng2component. Instead I had to go up one directory.
Suggestion:
yo ng2component
component or service
Component folder name? (I didn't know that the folder would be the same as the component)
instead ask Folder and component name?
Resides location?
instead ask "Resides location (/ for current)?" - then make this work (I'm getting errors when I enter /)
Style sheets?
once I choose one, please default it to that like the questions above.
Extra request: allow me to choose not to create the index.ts file. I'm going to end up deleting it every time.
Thanks for this generator. I'm using https://github.com/aspnet/JavaScriptServices/ and couldn't figure out how to get the @angular/cli working inside of it. I didn't want to create all these files by hand.
The text was updated successfully, but these errors were encountered:
aligneddev
changed the title
Bring back component name question
Some suggestions to make usage more clear
Feb 22, 2017
Hi @aligneddev Kevin, thanks for suggesting so many good ideas.
As you suggested, I've already updated generator-ng2component to version 1.0.9, which includes all new improvements you mentioned.
For question 4, actually you can type . or ./ as current location (should support all unix-style directory format such as .././).
And, you're right, @angular/cli only supports angular-cli-generated-projects, that's the reason why I made this one at the beginning.
Again, thanks for your contributions! If you still find issues for v1.0.9, feel free to contact me. if it looks good to you, let me know and I'll close this ticket.
The flow is confusing at the moment and took me a while to figure out that I had to go to a different directory.
I'd like to be able to go to my directory, then
yo ng2component
. Instead I had to go up one directory.Suggestion:
yo ng2component
Extra request: allow me to choose not to create the index.ts file. I'm going to end up deleting it every time.
Thanks for this generator. I'm using https://github.com/aspnet/JavaScriptServices/ and couldn't figure out how to get the @angular/cli working inside of it. I didn't want to create all these files by hand.
The text was updated successfully, but these errors were encountered: