-
Notifications
You must be signed in to change notification settings - Fork 6
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 i
oryarn
command (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 prod
oryarn prod
- build minified assets -
npm run dev
oryarn dev
- build assets with source maps (for development) -
npm run watch
oryarn watch
- start watcher -
npm run browser-sync
oryarn browser-sync
- to start watcher with broser sync - To use browser sync make sure that you copied
build/broswer-sync.config.js.sample
tobuild/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