Stefanowitsch Posted February 3 Share Posted February 3 @bernhard does the postCSS feature still work as intended? After updating RockFrontend and installing RockDevTools all my rfGrow settings are written directly to the generated styles.css like this: font-size: rfGrow(18pxrem, 20pxrem);  Link to comment Share on other sites More sharing options...
protro Posted Tuesday at 09:08 PM Share Posted Tuesday at 09:08 PM How do we fix the breaking changes? The documentation is unclear: I have installed RockDevTools added $config->rockdevtools = true; to config.php switched styles() to stylesTag() in _main.php. I am getting WireExceptions, and the Rockfrontend documentation is out of date https://www.baumrock.com/en/processwire/modules/rockfrontend/docs/asset-tools/ Link to comment Share on other sites More sharing options...
bernhard Posted Tuesday at 09:10 PM Author Share Posted Tuesday at 09:10 PM 1 minute ago, protro said: How do we fix the breaking changes? At the moment I'd recommend simply not to upgrade and use the new RockFrontend + RockDevTools just for new projects. Link to comment Share on other sites More sharing options...
protro Posted Tuesday at 09:16 PM Share Posted Tuesday at 09:16 PM And if we have already upgraded ? Is it enough to manually add v 4.10 back into the /modules folder ? Link to comment Share on other sites More sharing options...
bernhard Posted Tuesday at 09:18 PM Author Share Posted Tuesday at 09:18 PM Yes that should be all you need to do. 1 Link to comment Share on other sites More sharing options...
bernhard Posted Tuesday at 09:33 PM Author Share Posted Tuesday at 09:33 PM On 2/3/2025 at 11:48 AM, Stefanowitsch said: @bernhard does the postCSS feature still work as intended? After updating RockFrontend and installing RockDevTools all my rfGrow settings are written directly to the generated styles.css like this: font-size: rfGrow(18pxrem, 20pxrem); @Stefanowitsch I'm proud to announce that this is now also successfully ported to rockdevtools 😎 Note that the syntax changed to grow() and shrink() as it is not any more a RockFrontend feature and AI told me it's safe to use these wordings as they are not used in css/less/sass https://www.baumrock.com/en/processwire/modules/rockdevtools/docs/rockcss/ 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now