Skip to content

Cannot resolve Jquery #96

Open
Open

Description

@junaidsarwarpk

I installed react-select-2-wrapper and select2 in my react App and after importing the select2 plugin inside my component, it gave me this error:

./node_modules/react-select2-wrapper/lib/components/Select2.js Module not found: Can't resolve 'jquery'

I installed JQuery but it didn't help.
image

Activity

  1. hsluoyz commented on Jun 14, 2020

    @hsluoyz

    @rkit any answer for this?

  2. hsluoyz commented on Jun 15, 2020

    @hsluoyz

    Add

    import $ from "jquery"
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions