To develop with this theme you will need to install the following:
- node
npm i -g npm
- Install the latest npm version globally.
- windows-build-tools
npm install --global windows-build-tools
- Install so node modules can compile. Command Prompt (Run As Administator)
In the theme folder the following commands are available:
npm install
- Install the packages.npm run build
- Compile CSS and JS with sourcemaps.npm run prod
- Compile CSS and JS without sourcemaps.npm run watch
- Continuous compiling. Runs Browsersync in the browser.
To enable:
- Uncomment fonts path in CopyWebpackPlugin.
- Uncomment imports in vendor > index.scss.
- Uncomment slick-slider in js > index.js.
- Uncomment slider sizes in functions > media-custom.php.
- Yoast SEO - Required for
<title>
tag and breadcrumbs. - ACF PRO - Required for page sub header and customization.
- reCAPTCHA - Required for custom form. Add keys to functions.php and google-recaptcha.js.