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
Right now, it appears to be hard-coded to an app directory to contain all src. I would like to use angular-cli's generate ability but not necessarily use the build. For this to be useful, it would be beneficial to be able to specify the root src directory or even a path to a location to generate the file, etc.
Due to the complexity of the problem, we will not allow you to specify a structure. At least in the foreseeable future. We want the tool to generate an app with a structure that is considered the best practice by angular. And having a stable structure will make it easy for tools to parse as well.
Note that the app structure generated by the tool right now is likely to change before the beta milestone. I would not use this for serious production websites, or be ready for some refactoring.
Activity
NathanWalker commentedon Feb 19, 2016
For instance
apphere does not need to be hard-coded and could become a cli argument:https://github.com/angular/angular-cli/blob/master/addon/ng2/blueprints/component/files/src/app/components/__name__/__name__.ts#L6
hansl commentedon Feb 19, 2016
Due to the complexity of the problem, we will not allow you to specify a structure. At least in the foreseeable future. We want the tool to generate an app with a structure that is considered the best practice by angular. And having a stable structure will make it easy for tools to parse as well.
Note that the app structure generated by the tool right now is likely to change before the beta milestone. I would not use this for serious production websites, or be ready for some refactoring.
NathanWalker commentedon Feb 19, 2016
Thanks @hansl understandable.
angular-automatic-lock-bot commentedon Sep 5, 2019
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.