Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Know Your Laravel Assets

Know Your Laravel Assets

Assets management in Laravel. A talk presented at Laravel Abuja Meetup.

Avatar for Victor Bala

Victor Bala

November 25, 2017

Other Decks in Programming

Transcript

  1. What is Gulp? Gulp is a toolkit for automating painful

    or time consuming tasks in your development workflow, so you can stop messing around and build something.
  2. => Gulp is a streaming JavaScript build system built with

    NodeJs that leverages the power of streams and code-over-configuration. => Gulp uses small, single-purpose plugins to modify and process your project files => Gulp uses small, single-purpose plugins to modify and process your project files
  3. With Gulp you can chain, or pipe, these plugins together

    into more complex actions with full control of the order in which those actions take place,
  4. gulpfile.js //modules and plugins var gulp = require(‘gulp’); var concat

    = require(‘gulp-concat’); var uglify = require(‘gulp-uglify’); var imagemin = require(‘gulp-imagemin’);
  5. Laravel Mix Laravel mix provides a fluent API for defining

    webpack build steps for your laravel application using several common CSS and JavaScript pre-processors $ npm install $ npm run dev