The website is built with a mordern WP development stack (WordPlate).
- Sass for stylesheets
- Modern JavaScript
- Laravel Mix for compiling assets and concatenating and minifying files
- Browsersync for synchronized browser testing
- Blade as a templating engine
- Bootstrap 4
Make sure all dependencies have been installed before moving on:
- WordPress >= 5.4
- PHP >= 7.2.0 (with php-mbstring enabled)
- Composer
- Node.js >= 8.0.0
- Yarn
Edit public/theme/sitename/app/setup.php
to enable or disable theme features, setup navigation menus, post thumbnail sizes, and sidebars.
- Setup vhost with a domain (for example:
sitename.test
) - Update
BROWSER_SYNC_HOST
to the same value with the domain above (http://sitename.test
) composer install
- Install PHP packagesnpm install
- Install Node packagesnpm run watch
— Compile assets when file changes are made, start Browsersync sessionnpm run dev
— Compile and optimize the files in your assets directorynpm run prod
— Compile assets for production