vue-grid-layout
vue-grid-layout copied to clipboard
Known alternative using Vue3?
Anyone has found an alternative working with Vue3?
I got this working on Nuxt v3 which uses Vue 3 with the following: npm i vue-grid-layout@next which should install the beta release of this package which has vue 3 support.
For just vue:
import VueGridLayout from 'vue-grid-layout'
Vue.use(VueGridLayout)
For nuxt:
import VueGridLayout from 'vue-grid-layout'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(VueGridLayout)
})
I got this working on Nuxt v3 which uses Vue 3 with the following:
npm i vue-grid-layout@nextwhich should install the beta release of this package which has vue 3 support.For just vue:
import VueGridLayout from 'vue-grid-layout' Vue.use(VueGridLayout)For nuxt:
import VueGridLayout from 'vue-grid-layout' export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use(VueGridLayout) })
Can it work normally? Is there anything abnormal?
Try using the module vue3-drr-grid-layout, mentioned in comment