Angular-cli: ng generate component creates component with default ViewEncapsulation as None

Created on 10 Nov 2017  路  3Comments  路  Source: angular/angular-cli

Bug Report or Feature Request (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.


Angular CLI: 1.5.0
Node: 7.6.0
OS: win32 x64
Angular:
...

Repro steps.


Generate a new project.
Generate a component in the project. The component will have ViewEncapsulation set to None

Desired functionality.


ViewEncapsulation should not be set to None by default.

All 3 comments

Duplicate #8398.

npm uninstall -g angular-cli @angular/cli
npm cache clean
npm install -g @angular/cli

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MateenKadwaikar picture MateenKadwaikar  路  3Comments

rwillmer picture rwillmer  路  3Comments

JanStureNielsen picture JanStureNielsen  路  3Comments

brtnshrdr picture brtnshrdr  路  3Comments

daBishMan picture daBishMan  路  3Comments