Skip to content

Instantly share code, notes, and snippets.

Trevor Gehman trevorgehman

Block or report user

Report or block trevorgehman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
reinink / webpack.mix.js
Created Nov 20, 2017
Using Purgecss with Tailwind and Laravel Mix
View webpack.mix.js
let cssImport = require('postcss-import')
let cssNext = require('postcss-cssnext')
let glob = require('glob-all')
let mix = require('laravel-mix')
let purgeCss = require('purgecss-webpack-plugin')
let tailwind = require('tailwindcss')
mix.js('resources/assets/js/app.js', 'public/js')
.postCss('resources/assets/css/app.css', 'public/css/app.css', [
Repox / PaginationController.php
Created Nov 3, 2016
Laravel 5 Pagination with transform
View PaginationController.php
namespace App\Http\Controllers;
use App\User;
use Illuminate\Http\Request;
class PaginationController extends Controller
You can’t perform that action at this time.