Skip to content

ng generate doesn't initialize component stylesheets with specified styles type #7721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
avatsaev opened this issue Sep 17, 2017 · 3 comments

Comments

@avatsaev
Copy link

avatsaev commented Sep 17, 2017

Bug Report or Feature Request (mark with an x)

- [x] bug report
- [ ] feature request

Versions.

@angular/cli: 1.4.2
node: 8.5.0
os: linux x64
@angular/animations: 4.4.1
@angular/common: 4.4.1
@angular/compiler: 4.4.1
@angular/core: 4.4.1
@angular/forms: 4.4.1
@angular/http: 4.4.1
@angular/platform-browser: 4.4.1
@angular/platform-browser-dynamic: 4.4.1
@angular/router: 4.4.1
@angular/cli: 1.4.2
@angular/compiler-cli: 4.4.1
@angular/language-service: 4.4.1
typescript: 2.5.2

Repro steps.

  • Create a new project with --style=sass

OR

  • Specify in .angular-cli.json

  "defaults": {
    "styleExt": "sass",
    "component": {}
  }

  • Generate a new components with ng g c home

It will generate a component with css stylesheet instead of sass

@AhsanAyaz
Copy link
Contributor

Duplicate of #7624, #7644, #7647, #7708, #7715, #7719 & #7522

@Brocco
Copy link
Contributor

Brocco commented Sep 22, 2017

Closing as a duplicate.

@Brocco Brocco closed this as completed Sep 22, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants