fridzema/cdn-prefixer
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')
Related Packages
tappleby/laravel-asset-manifest
Laravel 4 package for re-mapping assets paths, useful for asset revving using to...
940
4
djordje/laravel-asset-symlinker
This tool enable symlinking of workbench or vendor's assets to your Laravel 4 pu...
2,575
0