Skip to content
Advertisement

Why Laravel 7 Generates Views in /storage/framework/views/, and how to stop creating them?

Laravel keeps generating views simultaneously with the views I am editing.

-storage
   -framework
       -views
           -0e4e52af70801a529019b11f786c45e07ca41a01.php
           -2c29d7cd1ffcb89dff8d91bbd62bedc5176cb6fc.php

Advertisement

Answer

You can do that but for that you have to edit Laravel’s core files, it is not advisable.

You can delete the views generated in storage folder by using following artisan command.

php artisan view:clear
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement