Blade SVG for Sage is a wrapper for Blade SVG by Adam Wathan allowing you to easily use SVG's in your Blade templates, either as an inline SVG or SVG sprite when using Sage 9.
Install via Composer:
$ composer require log1x/blade-svg-sage
Use the provided configuration filter below to modify the default configuration.
add_filter('bladesvg', function () {
return [
'svg_path' => 'resources/svg',
'spritesheet_path' => 'resources/svg/spritesheet.svg',
'spritesheet_url' => '',
'sprite_prefix' => '',
'inline' => true,
'class' => ''
];
});
Please refer to the original Blade SVG documentation for usage examples.