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

这个在最新版本还存在问题,在PUBLIC下的index.html中引入(jquery-3.6.0.min.js)的时候,使用Vue-Giant-Tree出现报错 #55

Open
Lq-q opened this issue Sep 5, 2023 · 6 comments

Comments

@Lq-q
Copy link

Lq-q commented Sep 5, 2023

No description provided.

@Lq-q
Copy link
Author

Lq-q commented Sep 5, 2023

TypeError: Cannot read properties of undefined (reading 'init')

@key-kun
Copy link

key-kun commented Sep 15, 2023

不引入cdn
在main.js文件(先装jquery包)
import jQuery from "jquery"; Object.assign(window, { $: jQuery, jQuery });

环境是vite + vue2

@likui888
Copy link

vue 2+webpack 使用 pnpm i jqueryvue.config.jswebpack.config.js 文件中使用ProvidePlugin 插件导出下jq没问题
截屏2023-11-17 17 11 06

@Lebigfat
Copy link

请问解决了吗

@likui888
Copy link

请问解决了吗

手动指定下应该没问题

@fndbs1314
Copy link

不引入cdn 在main.js文件(先装jquery包) import jQuery from "jquery"; Object.assign(window, { $: jQuery, jQuery });

环境是vite + vue2

这个可行 vite + vue3

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

5 participants