dash-component-boilerplate
dash-component-boilerplate copied to clipboard
Problems with jquery
trafficstars
Hello, I would like to try to create a component from the react summernote component. I add
"react-summernote": "^2.0.2"
"jquery":"^3.6.0"
to the dependency and the npm run build is executed without a problem. As soon as I put the
import ReactSummernote from 'react-summernote' element to the ... react.js file, the
ERROR in ./node_modules/react-summernote/dist/react-summernote.js
Module not found: Error: Can't resolve 'jquery' in 'node_modules\react-summernote\dist'
@ ./node_modules/react-summernote/dist/react-summernote.js 3:27-44
@ ./src/lib/components/editor.react.js
@ ./src/lib/index.js
Does anybody else have problems using jquery?
How did you add jquery? have you run:
npm i jquery
npm run build
Hi, for get the best out of my Summernote installation I have to use jquery-1.12.4. If I use later the menu starts to be disfunctional. I use the latest installation of Summernote. For now I have only instabillity in the fonts installed.