react-select2-wrapper icon indicating copy to clipboard operation
react-select2-wrapper copied to clipboard

Cannot resolve Jquery

Open junaidsarwarpk opened this issue 6 years ago • 2 comments

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

junaidsarwarpk avatar Jun 01 '20 06:06 junaidsarwarpk

@rkit any answer for this?

hsluoyz avatar Jun 14 '20 16:06 hsluoyz

Add

import $ from "jquery"

hsluoyz avatar Jun 15 '20 00:06 hsluoyz