How do I compile blade files for manual Sage build?

I have tried to compile blade files for a manual build and I get nothing from what I have read composer install --no-dev in the theme folder is what I am supposed to run. However, I get nothing has what is the correct way to manually build a Sage theme or is that even possible?

It’s unclear to me what you mean by a “manual build.” Can you elaborate on that?

Blades are compiled when requested by the web server when the site is visited, you generally don’t need to build them yourself. If for some reason you want to, I wrote a small WP-CLI tool that can compile Blades on demand: https://github.com/alwaysblank/blade-generate

This is what I was looking for. Thanks!

This topic was automatically closed after 42 days. New replies are no longer allowed.