This is an extension of the Sage starter theme for Wordpress, all credits goes to the awesome work made by the guys over at roots.
- Laravel Mix as front-end for webpack
- Vuejs by default
- Prepared with WP Glide
- wp-bootstrap-navwalker by default
This readme assumes you are using the bedrock structure for Wordpress, for installation/instructions head over to the Bedrock repo.
# @ bedrock/web/app/themes
$ git clone https://github.com/robbinfellow/sage-laravel-mix.git
$ cd sage-laravel-mix
$ composer install
$ yarn
$ yarn run dev / production / watch
# Watch and compile assets
$ yarn run watch
# Compile assets
$ yarn run dev
# Compile and minify assets for production
$ yarn run production
(Optional) WP Glide
Run the following from your bedrock root:
$ composer require frozzare/wp-glide
Don't forget to activate the plugin in your wordpress backend.
Sage is a WordPress starter theme with a modern development workflow.
Sage 8 documentation is available at https://roots.io/sage/docs/.
Sage 9 documentation is currently in progress and can be viewed at https://github.com/roots/docs/tree/sage-9/sage.