Create empty wordpress theme with minimal developper kit
Install composer in your project:
$ curl -s https://getcomposer.org/installer | phpSimply install with composer:
$ php composer.phar create-project opsone/wordpress-theme-kit path/to/install/Launch build files, Mode Development
$ npm run devLaunch watcher files, Mode Development
$ npm run watchLaunch watcher files and reload browser, Mode Development
$ npm run dev-serverMake for Production
$ npm run buildOptimize image
$ npm run imageOptimLaunch prettier
$ npm run prettifyUse assets file in templates wordpress
$ echo asset_url('logo.png');
$ // dev => http://localhost:3000/d8de0a51d2c1ffadf2674553ff70fad2.png
$ // prod => http://localhost/assets/build/d8de0a51d2c1ffadf2674553ff70fad2.png