node v10.23.2 npm v7.5.3
-
create wp theme as normal
-
put this folder under wp-content
-
edit 2 first line of gulpfile.js
themeName = 'jalan-jalan', // your theme folder
localWpAddress = "klepon/_wp-theme-builder/", // wp url for auto reload, remove http://
-
open terminal/command line, got to this folder
-
install node module
$ npm install
For mac user, use sudo and agreeing xcode t&c may require on install, read all blocker message on fail installing node modules
$ npm start
$ npm run build
compiled js and css will be put on themeName/assets don put any file manually inside themeName/assets folder, on build this folder will be recreate