This is a fork of the Sage 10 WordPress starter theme by Roots that uses Laravel Mix and the Bootstrap CSS framework (at current this is version 5).
My reasoning was the fact that Bud.js is a really cool build tool but I didn't want to move everything onto WSL.
If you want to use this theme in your WordPress project you can either:
- Clone it inside of your
themesfolder e.g.git clone https://github.com/blorange2/sage-10-laravel-mix.git your-theme-folder - Require it via Composer like so:
Open your WordPress project's composer.json file and add a repository entry for the modified Sage 10 theme. Add the following lines inside the repositories section:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/blorange2/sage-10-laravel-mix"
}
],Then add the package to your list of required packages.
"require": {
"blorange2/sage-10-laravel-mix": "master"
},As this theme uses Laravel Mix, in order to build assets you must navigate to your theme folder and run the command mix with either Yarn or NPM.
You can see a full listing of the available commands in the package.json file.