Q8root
Q8root

Reputation: 1355

Blade css view not reflecting changes

I am editing an CSS files , but non of any changes is reflected or updated in laravel view . I tried the following:-

php artisan view:clear
artisan clear-compiled
php artisan cache:clear

I also deleted the cache file manually in storage\framework\views. Refreshed the browser many times => ctrl + F5

Upvotes: 2

Views: 2329

Answers (1)

Prit
Prit

Reputation: 159

I was facing same issue but i tried with adding time() to its version and it worked! for Example:

    <link rel="stylesheet" type="text/css" href="{{asset('css/style.css?v=').time()}}">

Upvotes: 2

Related Questions