Angular 8/Sass: Find unused css classes
There are a lot of IDE plugins for that.
On my case I use https://marketplace.visualstudio.com/items?itemName=rcore.rcore-unused-css-classes from Visual Studio Code Extensions
Deleting unused component.scss file from angular folder
If you do not need component.scss
, of course you can delete it.
BTW, you can skip creating it when generate the component using angular cli.
ng g c yourComponent -is
Related Topics
Google Chrome Showing Black Border on Focus State for Button User Agent Styles
Can You Style the Google Translate Plugin
Using Ie Conditional Comments Inside a Stylesheet
CSS Relative + Right (Or Bottom) Almost Never Work
Possible to Build an Svg That Has Fluid Horizontal Scaling, Similar to Old Table-Slice Method
How to Edit CSS of New Google Forms
Is There a Maximum Length for the Class Name in CSS
How Does CSS Clearing Really Work
Making Bxslider Full Screen (Filling Entire Browser Window)
Find Definition of CSS Class in External Stylesheet
Angular2 Material Dialog CSS, Dialog Size
How to Visually Indicate Current Page in ASP.NET MVC
Svg Height Incorrectly Calculated in Webkit Browsers
Linear Gradient in Chrome and Safari Browsers
Which CSS Selector Is Stronger
Overriding :Root CSS Variables from Inner Scopes