-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 can you use jQuery's $? #404
Comments
Heya! You can use jQuery by doing something like this: import $ from 'jquery';
// Now you can use $ or you can add jQuery (https://code.jquery.com/jquery-3.2.1.min.js) under External Resources under Dependencies in the sidebar. We have plans to add better support for custom aliases, so that would make it possible to do this in the future. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to create a React sandbox with the following code:
This works in my own codebase without having to do anything special. I get an "Unexpected token, expected" error, though.
How can I get use jQuery in CodeSandbox and get
$
to work?The text was updated successfully, but these errors were encountered: