appstract / laravel-blade-directives

A collection of nice Laravel Blade directives
MIT License
860 stars 75 forks source link

Readme notice for view:clear #24

Closed danrichards closed 7 years ago

ovanschie commented 7 years ago

I don't see why this is necessary?

gizburdt commented 7 years ago

Sorry, me neither

danrichards commented 7 years ago

Hmm, maybe it was just something I did. I had to clear the view cache after composer updating with new directives.

gizburdt commented 7 years ago

Yeah, that's sometimes the case after updating plugins. But I think it's not necessary to add it to our plugin/docs. Thanks for the help though! :)

danrichards commented 7 years ago

The issue was I used a new directive that did not exist yet, brought in the updated package with composer, views were already compiled, refreshed and nothing.

Granted, I was trying to use a directive that I hadn't pulled in. So it makes sense that it didn't work, but it's not to say someone else could not make the same misstep.