Skip to content

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

Closed
@Brocco

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

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