Blade view not reflecting changes

后端 未结 10 2034
忘掉有多难
忘掉有多难 2020-12-05 00:04

I am developing a Laravel(5.2.29) project in Windows environment and testing it on Chrome browser.

I have made some changes on a Blade file using atom text editor an

相关标签:
10条回答
  • 2020-12-05 00:32

    I have cleared all cashs and uploaded folders but didnt see changes. Thus, if you have placed the project on a public hosting and don't have access to console then try to set deployment via your IDE (mine is phpstorm, e.g.)and set it to autoload mode. Then you'll get it working by changing something in the problem blade and by pressing cntrl+s(save) shortcut.

    0 讨论(0)
  • 2020-12-05 00:34
    php artisan cache:clear
    php artisan route:cache
    php artisan config:clear
    php artisan view:clear
    rm -rf bootstrap/cache/*/*
    
    • Delete Cache/OPcache from PHP (fpm) of your Nginx/Apache server.
    0 讨论(0)
  • 2020-12-05 00:42

    Alternatively if other suggested methods did not work, you can rename your files to different names. Refresh their corresponding web pages to start using new file name reference. Then you can rename the files back to your preferred names after the new pages to reflect their changes.

    0 讨论(0)
  • 2020-12-05 00:48

    Run this command from terminal

    php artisan view:clear
    
    0 讨论(0)
提交回复
热议问题