Skip to content

generate - customize location #222

Closed

Description

@NathanWalker

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.

If this sounds reasonable, I can look into a PR.

Activity

  1. NathanWalker commented on Feb 19, 2016

    @NathanWalker
    ContributorAuthor
  2. hansl commented on Feb 19, 2016

    @hansl
    Contributor

    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.

  3. NathanWalker commented on Feb 19, 2016

    @NathanWalker
    ContributorAuthor

    Thanks @hansl understandable.

  4. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    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.

  5. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions