-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Wrong schematics for component #1617
Comments
lares83
changed the title
Wrong schema for component scss
Wrong schematics for component
Jul 24, 2019
FrozenPandaz
added
community
This is a good first issue for contributing
type: bug
labels
Jul 27, 2019
Good catch. The offending line is here:
Would somebody like to contribute a fix? |
@FrozenPandaz I would love to contribute! |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Generate
scss
files when create a new componentCurrent Behavior
Generating components generate
css
file instead ofscss
Steps to Reproduce
Create new workspace using
npx create-nx-workspace@latest app-test
.Select the following answers:
After you install all dependencies, create new component using the following command
ng g c test
The following files are being created:
Which is wrong because it should generate
test.component.scss
instead ofcss
.I've noticed that in
angular.json
the following schema has been generatedWhen I change it to
It starts working fine.
Context
Please provide any relevant information about your setup:
8.3.0
-version of npx
10.2.0
The text was updated successfully, but these errors were encountered: