Skip to content

fridzema/laravel-cdn-prefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

composer require fridzema/cdn-prefixer

Add to providers array in config/app.php Fridzema\CdnPrefixer\CdnPrefixerServiceProvider::class

Run in terminal php artisan vendor:publish --tag=config

Use cdn() instead of asset() in your application now and it will be prefixed. cdn('js/app.js')