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

How I can connect this plugin in react? #75

Open
Yuricoden opened this issue Jul 7, 2018 · 3 comments
Open

How I can connect this plugin in react? #75

Yuricoden opened this issue Jul 7, 2018 · 3 comments

Comments

@Yuricoden
Copy link

I'm trying importing this plugin in react , but that plugin display error in console.log(jquery is no defined). But in react app jquery installed and connected.

@ghost
Copy link

ghost commented Jul 11, 2018

@Yuricoden You should import jquery to file, where you import this plugin

import $ from "jquery";
import this plugin

@Yuricoden
Copy link
Author

That method don't working!

@ghost
Copy link

ghost commented Jul 17, 2018

@Yuricoden try this
import $ from "jquery"; window.jquery = $; import your plugin

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