spritemapFile = Cache::rememberForever('spritemap_file', function () { $manifest = json_decode(file_get_contents(public_path('build/manifest.json')), true); return asset('build/' . $manifest['spritemap.svg']['file']); }); } public function render() { return <<<'HTML' merge(['class' => 'fill-current']) }}> HTML; } }