-
Notifications
You must be signed in to change notification settings - Fork 7
1. Installation
DK edited this page Mar 14, 2019
·
6 revisions
- PHP5.6+
- NodeJs (v10 +) (optional)
There are two ways to install this theme:
- Generate your theme using following link https://solidbunch.github.io/starter-kit-generator/, then unzip it into
wp-content\themes\directory
OR
- Simply clone this repo to your
wp-content\themes\*your-theme-name*
- run
npm ioryarncommand (setup node depencies) - to replace names use command
-
npm run replaceNames- doing replacement by config object (edit first in gulpfile.js)
-
- to run webpack use next commands
-
npm run prodoryarn prod- build minified assets -
npm run devoryarn dev- build assets with source maps (for development) -
npm run watchoryarn watch- start watcher -
npm run browser-syncoryarn browser-sync- to start watcher with broser sync - To use browser sync make sure that you copied
build/broswer-sync.config.js.sampletobuild/broswer-sync.config.js- and configured your local domain
-
If you want to use composer as php dependency manager, make sure that you have installed it in your system (Download Composer)
- go to your theme directory
- simply run
composer install