0

I created a Laravel (5.1.3) project with breeze as the starter kit. I am planning to use the react as frontend to this project. I run the php artisan serve command. The boiler plate template is working but any changes to files /resources/js/Pages/Welcome.jsx or /resources/views/welcome.blade.php is not reflecting. I have tried:

  1. clearing the storage/framework/views folder ,
  2. run command php artisan view:clear ,
  3. run command php artisan config:clear ,
  4. run command composer dump-autoload ,

Still no change to the initial view. What am I doing wrong?

And I configured to make react as frontend library so I don't need the welcome.blade.php file right?

2
  • Sounds like a problem with the javascript side of things. Have you tried running npm install && npm run dev? Commented Nov 13, 2023 at 3:22
  • Are you sure you're testing the same project you're editing? Commented Nov 13, 2023 at 3:31

1 Answer 1

1

You can try with :

  1. npm install && npm run dev
  2. clear browser cache / cookies using CTRL + F5 if u using windows.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.