Skip to content
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

500 document is not defined at Object (getWindowSize.js) #223

Open
POGREMIX opened this issue Feb 2, 2024 · 1 comment
Open

500 document is not defined at Object (getWindowSize.js) #223

POGREMIX opened this issue Feb 2, 2024 · 1 comment

Comments

@POGREMIX
Copy link

POGREMIX commented Feb 2, 2024

Issue description:

Can't find DOM document on loaded browser page.
I've turned off all functions calls except npm import.

500 document is not defined at Object. (C:\...\node_modules\jarallax\src\utils\getWindowSize.js:38:1)

Version used:

I use jarallax package 2.2.0 into project with Nuxt3, Vue3 and TypeScript.

Code to reproduce the issue

<template>
...
</template>

<script setup lang="ts">
import { jarallax } from 'jarallax';
...
</script>
@POGREMIX
Copy link
Author

POGREMIX commented Feb 5, 2024

Need to move script to plugins directory and add client suffix

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

1 participant