Closed (outdated)
Project:
Critical CSS
Version:
8.x-1.8
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
22 Jan 2019 at 22:05 UTC
Updated:
2 Jul 2022 at 13:00 UTC
Jump to comment: Most recent
Comments
Comment #2
albertosilvaCould you please give me more information on the problem your facing? Are you getting problems on generating the critical css files?
Regards,
Alberto Silva
Comment #3
albertosilvaComment #4
albertosilvaComment #5
nelo_drup commentedThanks for answering I understand how the module works, but I can not generate the critical css, I know I may ask for a lot, but it would be amazing a video, I have several projects in drupal and I could apply this great module more easily
Comment #6
albertosilvaYou should install gulp (https://gulpjs.com/) and use the example from https://github.com/asilgag/critical-css-gulp-example. That's a complete working example for gulp, so please refer to it and tweak it for your needs.
Comment #7
albertosilvaComment #8
albertosilvaComment #9
lquessenberry commentedHow do I use the working example when i already have an existing gulpfile? I can't seem to make it work.
Comment #10
drup16 commentedI was able to get this to work by doing the following.
gulpfile.jsfile so that it would minify all my CSS into a target directory.mytheme/css/critical/)/css/critical/Comment #11
albertosilvaComment #12
avpadernoI am removing the issue tags wrongly used. I apologize for bumping this issue.