You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ng generate doesn't create css files when -sw is used to create the project #10722
CREATE src/app/name-of-component/name-of-component.component.spec.ts (693 bytes)
CREATE src/app/name-of-component/name-of-component.component.ts (311 bytes)
CREATE src/app/name-of-component/name-of-component.component.css (0 bytes)
UPDATE src/app/app.module.ts (518 bytes)
When I use generate component expect to get a whole new component, but this is like if i used a flag for create styles in the .ts file
-sw is the equivalent of -s -w. -s is the short option for inline styles. -w is not actually an option and should error but currently does not. The lack of an error for -w is a defect and will be corrected.
@clydin , -sw used to be the alias for --service-worker in previous versions. like This page shows (I didn't find official documentation for version 5 because it's not shown anymore in the official page. It jumps from 4 to 6)
Activity
clydin commentedon May 8, 2018
-swis the equivalent of-s -w.-sis the short option for inline styles.-wis not actually an option and should error but currently does not. The lack of an error for-wis a defect and will be corrected.judasane commentedon May 9, 2018
@clydin , -sw used to be the alias for --service-worker in previous versions. like This page shows (I didn't find official documentation for version 5 because it's not shown anymore in the official page. It jumps from 4 to 6)
fix(@schematics/angular): Validate to prevent additional properties
fix(@schematics/angular): Validate to prevent additional properties
fix(@schematics/angular): Validate to prevent additional properties
fix(@schematics/angular): Validate to prevent additional properties
fix(@schematics/angular): Validate to prevent additional properties
fix(@schematics/angular): Validate to prevent additional properties
angular-automatic-lock-bot commentedon Sep 8, 2019
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.