Replies: 3 comments 11 replies
-
Just tested with the steps you mentioned, I added a Just for the record, I am running the latest patch version as of this writing: $ php artisan --version
Laravel Framework 9.0.1 Maybe isn't some third-party package that is overriding it? |
Beta Was this translation helpful? Give feedback.
-
This directory is reserved for third party libraries. It should not contain any application views unless you're publishing views from a third party library. |
Beta Was this translation helpful? Give feedback.
-
I have discovered the problem: In Laravel Framework 8.83.0 In Laravel Framework 9.0.1 In both cases with clean installation |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
The "vendor" folder inside views is completely ignored by the framework; this includes views exported by external packages (larecipe); and even internal Laravel views like mail views that result from running "php artisan vendor:publish --tag=laravel-mail".
Changes to these files are not reflected. Even clearing the view cache. These views are still built with the files included in the vendor (composer) folder instead of the published ones.
Steps To Reproduce:
Can be tested running
php artisan vendor:publish --tag=laravel-mail
Change some details or style inside "resources/views/vendor/mail/html"
Creatin a example mail:
php artisan make:mail OrderShipped --markdown=emails.orders.shipped
Previewing mail in the browser:
The changes are not reflected,
php artisan view:clear
does not solve the problem. This problem is not in Laravel 8.82.0Beta Was this translation helpful? Give feedback.
All reactions