Skip to content

Known alternative using Vue3? #686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
geovaneo opened this issue Jul 2, 2022 · 3 comments
Open

Known alternative using Vue3? #686

geovaneo opened this issue Jul 2, 2022 · 3 comments

Comments

@geovaneo
Copy link

geovaneo commented Jul 2, 2022

Anyone has found an alternative working with Vue3?

@crotanite
Copy link

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)
})

@LazyJoke
Copy link

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)
})

Can it work normally? Is there anything abnormal?

@50rayn
Copy link

50rayn commented Sep 7, 2022

Try using the module vue3-drr-grid-layout, mentioned in comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants