我想在我的react应用程序中使用http://bootstrap-notify.remabledesigns.com/,我曾尝试使用Using bootstrap-notify with Angular 7,但在控制台中遇到错误"$.notify is not a function“
发布于 2020-03-19 17:57:53
您需要必要的导入:
import $ from "jquery";
import "bootstrap-notify";您将需要使用npm i jquery --save和npm i bootstrap-notify --save加载它们。在安装后,我也遇到了一些编译器错误,我用以下命令修复了这些错误:(see here)
npm install --save --save-exact react-scripts@3.4.0
https://stackoverflow.com/questions/60287034
复制相似问题