Best laravel framework open-source packages.

Vue draggable with laravel

Using Vue.Draggable to sort a collection of items and persist them to the database with Laravel
Updated 1 year ago

Vue.Draggable with Laravel

Code for YouTube video tutorial: https://www.youtube.com/watch?v=1Yrzli1PqFc

Installation

  1. clone the repo and cd into it
  2. composer install
  3. rename or copy .env.example file to .env
  4. Enter your database credentials in your .env file
  5. php artisan migrate
  6. php artisan key:generate
  7. npm install
  8. npm run dev
  9. php artisan serve or use Laravel Valet
  10. Visit localhost:8000 in your browser
  11. Go to Admin section and drag and drop to your heart's content.