-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Ng generate always assumes an app folder #9370
Copy link
Copy link
Open
Labels
area: @schematics/angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authorsworkaround1: obvious
Milestone
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authorsworkaround1: obvious
Our project setup doesn't have an immediate sub-folder of app, however, it appears that running ng generate always assume that you have an
appfolder under the app root folder you specified in .angular-cli.jsonVersions
Repro steps
Observed behavior
You'll see the output path always assumes an
appfolder:Desired behavior
I'd like an option to be able to configure whether your project has the
appfolder or not. Or maybe an option to configure the whole path the component gets created in.