/sage-laravel-mix

Sage 9 with laravel mix & vuejs

Primary LanguagePHPMIT LicenseMIT

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.

Different from Sage 9:

  • Laravel Mix as front-end for webpack
  • Vuejs by default
  • Prepared with WP Glide
  • wp-bootstrap-navwalker by default

Installation

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

Laravel mix

# 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.


Packagist devDependency Status Build Status Sponsored by ES6.io

Sage is a WordPress starter theme with a modern development workflow.

Documentation

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.