Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drehimself/vue-draggable-with-laravel

Using Vue.Draggable to sort a collection of items and persist them to the database with Laravel
https://github.com/drehimself/vue-draggable-with-laravel

laravel vue vue-draggable vuejs

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Vue.Draggable with Laravel

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

## Installation

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