Laravel and Vue: Creating a Portfolio website with a CRUD admin panel — Chapter 12

Refactoring the PortfolioController

Umar Taufiq
ITNEXT
Published in
5 min readDec 18, 2019

--

We have built the PortfolioEditor capable of performing the CRUD abilities.

CREATE — We can add a portfolio item using addItemModal 🌟

READ — We can get and display the portfolio items from the route into PortfolioEditorTable 🌟

UPDATE — We can change the details of a portfolio item using updateItemModal 🌟

--

--

Writer for

Multimedia and Web Developer. Interested in efficiency and fancy things you can do with CSS.