Laravel and Vue: Creating a Portfolio website with a CRUD admin panel — Chapter Four
UPDATING THE MASTHEAD & REFACTORING THE CODE
Published in
7 min readOct 28, 2019
Recap: In order to create and display the profile, we posted a form to the create route.
Now — :
Can we create an update form and post it to an update route? Yeah but …
Do we have to? NO
There is a more efficient way of updating the profile data. We can keep and use the same form for create and update functions. We…