I have a very strange problem. I used the php artisan make:auth
and when I change the reset.blade.php it doesn't change anything in the output. I couldn't even change the layout even though I changed the extends('layouts.app')
to my own layouts.master. I somehow managed to change it to my layouts.master view by deleting the layout.app view that comes with the scaffolding command. I have no problem changing the login and register view which I actually already changed. Has someone encountered such a problem? I find it very strange and I hope someone could help me. Thanks in advance!
Try running php artisan cache:clear
. Sounds like your views are hard cached.
If you are trying to edit the view that is linked from the "Forgot Your Password?" link, then edit:
/resources/views/auth/password/email.blade.php (the view which contains the form to enter email address to start password reset process)
and NOT
/resources/views/auth/password/reset.blade.php (which is the view where you enter your new password, after clicking on link in password reset email).
HTH
Since this issue could stil occur for some users, I would suggest using npm run watch
. If you just want to compile your files a single time, use npm run dev
or npm run prod
for production files.
I also had the same problem. It appears that in the .env file your variable APP_URL has to be correct. Mine was not correctly named.
Greets