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

When I use it in React,get error “Uncaught TypeError: Cannot set properties of undefined (setting 'getPropertyValue')” #372

Open
mengxianglong123 opened this issue Nov 26, 2023 · 6 comments

Comments

@mengxianglong123
Copy link

No description provided.

@veraLX
Copy link

veraLX commented Nov 26, 2023 via email

@wangxuan1314
Copy link

Yes, Vue also has this problem。

@veraLX
Copy link

veraLX commented Jan 23, 2024 via email

@wangxuan1314
Copy link

I seem to know why this is happening. When installing dependencies, some will install wow.js, while others will install wowjs. That's where my problem lies. It should be installing wow.js

@lisonge
Copy link

lisonge commented Apr 30, 2024

I use vite5+vue2.7, The following is my solution

  1. Remove the import in the JS code
// import 'wowjs/css/libs/animate.css'
// import { WOW } from 'wowjs'
  1. use cdn url script/link
    <script src="
https://cdn.jsdelivr.net/npm/[email protected]/dist/wow.min.js
"></script>
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/css/libs/animate.min.css
" rel="stylesheet">

@veraLX
Copy link

veraLX commented Apr 30, 2024 via email

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