Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Know Your Laravel Assets
Search
Victor Bala
November 25, 2017
Programming
46
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Know Your Laravel Assets
Assets management in Laravel. A talk presented at Laravel Abuja Meetup.
Victor Bala
November 25, 2017
Other Decks in Programming
See All in Programming
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
Domain-Driven Transformation
hschwentner
2
2.3k
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
SREの越境 / SRE Collaboration
y0hgi
2
310
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
540
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
Bash Introduction
62gerente
615
220k
RailsConf 2023
tenderlove
30
1.6k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
The Cost Of JavaScript in 2023
addyosmani
55
10k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
A Tale of Four Properties
chriscoyier
163
24k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
A better future with KSS
kneath
240
18k
Docker and Python
trallard
47
4.2k
Transcript
Know Your Laravel Assets
Know Your Laravel Assets Victor Bala Systems Analyst - Bingham
University Twitter: @savics
It starts with…
$ laravel new jollof-app
It gets complex…
You wish
None
None
Gulp
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.
=> 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
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,
gulpfile.js //modules and plugins var gulp = require(‘gulp’); var concat
= require(‘gulp-concat’); var uglify = require(‘gulp-uglify’); var imagemin = require(‘gulp-imagemin’);
//styles gulp.task(‘styles’, function () { return gulp.src(‘app/css/*.css’) .pipe(concat(‘bundle.css’)) .pipe(uglify()) .pipe(gulp.dist(‘dist’));
});
//scripts gulp.task(‘scripts’, function () { return gulp.src(‘app/js/*.js’) .pipe(concat(‘bundle.js’)) .pipe(uglify()) .pipe(gulp.dist(‘dist’));
});
//scripts gulp.task(‘images’, function () { return gulp.src(‘app/img/*’) .pipe(imagemin()) .pipe(gulp.dist(‘dist’)); });
Laravel Mix
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
None
mix.js(resources/assests/js/app.js’, ‘public/js’) .sass(‘resources/assets/sass/app.scss’, ‘public/css’) mix.less(resources/assests/less/app.less’, ‘public/css’) .less(resources/assests/less/admin.less’, ‘public/css’) mix.styles([ ‘public/css/vendor/custom.css’,
‘public/css/font-awesome.css’ ], ‘public/css/bundle.css’);
mix.sass(resources/assests/app/app.scss’, ‘public/css’) .options({ processCssUrls: false }); .example { background: url(‘../images/example.png’);
} .example { background: url(/images/example.png?d41d8cd98f00b2); }
mix.js(‘resources/assets/js/app.js’, ‘public/js’) .extract([‘vue’])
None
Thank You!