Ad

PHP Laravel, Edit Blade File Without Re-compiling

- 1 answer

Disclaimer: I don't know php.

Hi.

I inherited a php project in laravel from a former employee. And now I need to edit a source file

index.blade.php

<html>
<head>
 <script src="https://oldsource.com/"></script>

change it to a new source file, since we are changing hosting

They only provided me FTP access to the server, so I tried editing the blade file, but it won't reflect. Changing other assets such as images, or css files works. But change blade.php files show no changes

I think I need to re-compile it? Is there a way for me to change it with using FTP only...

I'm out of options, since even the network admin who previously handles it is nowhere to be found...

Need help.

Ad

Answer

Compiled views are stored in /storage/framework/views. Removing all files from this folder will force Laravel to recompile all views.

Ad
source: stackoverflow.com
Ad