Generator to use Yeoman on a Wordpress project.
For more informations about Yeoman, see Yeoman.io
$ yeoman init yeoman-wordpress - Generates a new Wordpress project with a fresh html5boilerplate theme and the files needed to use Yeoman. Once Yeoman is done, install your new wordpress project, and activate the theme in the admin panel.
$ yeoman server - Since wordpress is a php framework, the yeoman server task can't be use directly. Here is how you can use it (thanks to @mklabs yeoman/yeoman#250 (comment)):
-
- Start the yeoman server:
yeoman server. You can close the page it opened, you won't use it.
- Start the yeoman server:
-
- Go to the wordpress with the host you created in Mamp or whatever you are using
-
- Activate the LiveReload extension by clicking its button in your browser.
-
- You're good to go!
$ yeoman build - Not 100% working for now (missing: js concatenation)