composer install.', 'sage')); } require $composer; /* |-------------------------------------------------------------------------- | Register Sage Theme Files |-------------------------------------------------------------------------- | | Out of the box, Sage ships with categorically named theme files | containing common functionality and setup to be bootstrapped with your | theme. Simply add (or remove) files from the array below to change what | is registered alongside Sage. | */ collect(['helpers', 'setup', 'filters', 'admin']) ->each(function ($file) { $file = "app/{$file}.php"; if (! locate_template($file, true, true)) { wp_die( sprintf(__('Error locating %s for inclusion.', 'sage'), $file) ); } }); /* |-------------------------------------------------------------------------- | Enable Sage Theme Support |-------------------------------------------------------------------------- | | Once our theme files are registered and available for use, we are almost | ready to boot our application. But first, we need to signal to Acorn | that we will need to initialize the necessary service providers built in | for Sage when booting. | */ add_theme_support('sage'); /* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We are ready to bootstrap the Acorn framework and get it ready for use. | Acorn will provide us support for Blade templating as well as the ability | to utilize the Laravel framework and its beautifully written packages. | */ new Roots\Acorn\Bootloader();