Skip to content

Project Settings - allow config level values for inline style/template #2447

Closed

Description

@Brocco

In angular-cli.json under defaults add:

"inline": {
  "style": [true/false],
  "template": [true/false]
}

When generating components the precedence will be:

  • command-line option value if specified
  • value in configuration file
  • default value of false if no configuration specified to maintain current functionality

Activity

  1. self-assigned this
    on Sep 30, 2016
  2. added 4 commits that reference this issue on Oct 1, 2016
    618085c
    b1f95a8
    ad0c232
    1008b93
  3. added a commit that references this issue on Oct 1, 2016
    b224395
  4. added a commit that references this issue on Oct 2, 2016
    2a562b6
  5. added a commit that references this issue on Oct 3, 2016
    a3b0fbd
  6. angular-automatic-lock-bot commented on Sep 6, 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.

  7. locked and limited conversation to collaborators on Sep 6, 2019
  8. added a commit that references this issue on May 29, 2026
    ec3d06a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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