Closed
Description
Bug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [ x ] feature request
Versions.
@angular/cli: 1.4.7
node: 7.9.0
os: darwin x64
Repro steps.
in .angular-cli.json
"defaults": {
"styleExt": "scss",
"component": {
"spec": false,
"viewEncapsulation": "None"
}
}
use cli ng g component my-component
it don't add 'encapsulation: ViewEncapsulation.None' in my-component.component.ts
@component({
selector: 'my-component',
templateUrl: './my-component.component.html',
styleUrls: ['./my-component.component.scss']
})