gulp-purifycss | Removed unused CSS with the gulp build tool | Style Language library
kandi X-RAY | gulp-purifycss Summary
kandi X-RAY | gulp-purifycss Summary
Clean unnecessary CSS with PurifyCSS.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gulp-purifycss
gulp-purifycss Key Features
gulp-purifycss Examples and Code Snippets
Community Discussions
Trending Discussions on gulp-purifycss
QUESTION
Taking the mat-slide-toggle
as an example, locally I see the HTML tag looks like this:
ANSWER
Answered 2019-Apr-09 at 22:54I found the solution in this blog post.
I did a combination of both these things:
You can directly include the pre-built angular-material-theme in the styles.css file.
@import '@angular/material/prebuilt-themes/deeppurple-amber.css';
Note the lack of "~" in front of "@angular".
Update the following in angular.json file.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gulp-purifycss
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page