Download the PHP package sircumz/laravel-mixable without Composer
On this page you can find all versions of the php package sircumz/laravel-mixable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sircumz/laravel-mixable
More information about sircumz/laravel-mixable
Files in sircumz/laravel-mixable
Download sircumz/laravel-mixable
More information about sircumz/laravel-mixable
Files in sircumz/laravel-mixable
Vendor sircumz
Package laravel-mixable
Short Description A Laravel 5.4 package for mixing packages.
License MIT
Homepage https://github.com/sircumz/laravel-mixable
Package laravel-mixable
Short Description A Laravel 5.4 package for mixing packages.
License MIT
Homepage https://github.com/sircumz/laravel-mixable
Please rate this library. Is it a good library?
Informations about the package laravel-mixable
Laravel Mixable!
A Laravel 5.4+ package for mixing Laravel packages.
Installing Laravel Mixable
The preferred way of installing is through composer
composer require sircumz/laravel-mixable
Add the service provider to config/app.php:
SirCumz\LaravelMixable\LaravelMixableServiceProvider::class
Compiling Assets with Laravel Mix
Add the following code to the top of "webpack.mix.js" if you want to enable asset compiling with Mixable.
const mix = require('./vendor/sircumz/laravel-mixable/mixable.js');
instruct Mixable what to mix. You can use almost every function that Laravel Mix has to offer in their API.
public function boot() {
$this->app['mixable']->mix( function($mix) {
$mix->sass( __DIR__ . '/assets/css/style.css', 'public/mypackage/css/style.css' )
->version();
} );
}
Run the Laravel Mix commands in your terminal as you normally would do.
npm run watch
Enjoy!
All versions of laravel-mixable with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0
The package sircumz/laravel-mixable contains the following files
Loading the files please wait ....