Introducing @raj/clone-wp-theme: Sage-Vite Setup Made Easy for Windows

Hi everyone,

I’m excited to introduce @raj/clone-wp-theme, a CLI tool that simplifies setting up Sage-Vite themes on Windows without needing WSL configurations. This tool streamlines the process of cloning and configuring Sage-Vite themes for local development.

Features:

  • Windows-Friendly: Optimized for Windows users, making setup straightforward without * WSL requirements.

  • Interactive CLI: Choose Sage-Vite from a list of themes and clone the repository with ease

  • Easy Installation: Install globally using npm install -g @raj/clone-wp-theme and start with clone-wp-theme.

For more details and usage, check out the README.

I welcome any feedback or contributions. Let’s simplify Sage-Vite theme setup together!

Best,
Raj Patel

2 Likes

I have trouble with WSL in my device and looking for another workaround. Just tried and it works fine! Cool. Thank you so much @raj_patel

1 Like

Hi @chandraai

You’re welcome! Glad to hear it’s working fine now.

If you run into any other issues, feel free to reach out.

Happy coding!

Thanks for sharing!

:warning: Not using bud.js with Sage loses a lot of huge editor developer experience improvements such as:

  • theme.json auto generation
  • Editor HMR support
  • Editor block, filters, etc, support

https://roots.io/block-editor-development-with-hmr-support/

https://roots.io/automatically-generating-theme-json-from-tailwind-config/

It would be great to see one of these Sage forks with Vite account for those bud.js features since working with the block editor is such a huge part of most WP site development these days

Native Windows support is coming to bud.js in the future, and I believe it’s still possible to work with WSL and bud.js despite it being sometimes complicated and frustrating