Elhebert / laravel-sri

Subresource Integrity hash generator for laravel
MIT License
40 stars 16 forks source link

Blade component tag name #79

Closed thirsch closed 2 years ago

thirsch commented 2 years ago

I've upgraded to 3.0 today and wasn't able to use the Blade component tag as described. Am I doing it wrong? The code states sri.link and sri.script, the documentation sri-link and sri-script. Is there any magic within the blade system that should convert . to - and this is not the case in my installation?

Elhebert commented 2 years ago

Hello,

Nice catch. The documentation is not matching the implementation. As sri.link and sri.script are in the code I'll update the documentation instead of the code.