jocodev1 / vue-muuri

A vue plugin using Muuri's responsive, sortable, filterable and draggable grid layouts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Has anyone managed to get this working with Laravel?

aidanayala opened this issue · comments

You should be able to install it just like any other Vue plugin. This could change based on the version of Laravel, but generally should all work the same.

$ npm install vue-muuri --save

Then in your main js file before your Vue instance is created, use...

import VueMuuri from 'vue-muuri'

Vue.use(VueMuuri)

Then follow the documentation to use the plugin. If you're still having issues, let me know what version of Laravel you're using. I've used this with a custom Laravel / Vue environment many times, so there shouldn't be any issues if it's setup correctly.