-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Bug: Components are not generated with scss #7647
Comments
+1 |
They should just make |
use ng new --style scss |
The correct syntax is |
@shahzadhassan10 Are you sure about that? I just generated a project using |
@Karasuni you're right. |
@Karasuni not sure what version of angular cli you are using. But I wasn't able to generate SASS with --style=scss in @angular/cli: 1.4.1 |
@Karasuni verified. It is indeed a bug. |
|
Duplicate of #7624 |
I can confirm that this is happening with
with my cli set like:
|
This issue is fixed in v1.4.3 via PR #7648 |
The problem persists in version 1.4.5 still, just got the issue. |
"extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https: Can someone help me on what's wrong in my code ? var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = {
}; |
Issue persists for me. Angular CLI: 6.0.1 Package Version@ angular-devkit/architect 0.6.8 |
This works @angular/cli 6.0.8 {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"my-app": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
...
}
}
} |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.4.1
node: 7.10.1
os: linux x64 (Bash on Ubuntu on Windows)
Repro steps.
When creating a new project:
Same with an existing project:
Desired functionality.
The generate command should generate an
.scss
file instead of a.css
file as mentioned in #1177The text was updated successfully, but these errors were encountered: