Skip to content

Document is not defined #702

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

Closed
OguzcanKarakoc opened this issue Aug 23, 2022 · 1 comment
Closed

Document is not defined #702

OguzcanKarakoc opened this issue Aug 23, 2022 · 1 comment

Comments

@OguzcanKarakoc
Copy link

Software version (please complete the following information):

  • Browser Chrome
  • Vue Version 3 (I am using Nuxt3 , which is build in Vue3) "nuxt": "3.0.0-rc.6",
  • vue-grid-layout Version: 2.4.0

Describe the bug
A clear and concise description of what the bug is.

If I import import { GridLayout, GridItem } from 'vue-grid-layout' it gives me an error saying document is not defined.

To Reproduce
Steps to reproduce the behavior:
Simply importing in a nuxt3 project.

Expected behavior
package to work

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

@OguzcanKarakoc OguzcanKarakoc changed the title Document is nor defined Document is not defined Aug 23, 2022
@gmsa
Copy link
Contributor

gmsa commented Aug 24, 2022

vue-grid-layout v2 doesn't work on vue 3. Try the vue3 branch and check #686 #617 and #439

@gmsa gmsa closed this as completed Aug 24, 2022
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

2 participants