fridzema/cdn-prefixer

Little optional cdn url prefixer, can be used as an replacement for the default asset helper
42
Install
composer require fridzema/cdn-prefixer
Latest Version:v0.0.1
License:MIT
Last Updated:Aug 12, 2017
Links: GitHub  ·  Packagist
Maintainer: fridzema

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')