无法呈现Reactjs-boostrap弹出窗口

时间:2020-08-11 08:53:45

标签: react-bootstrap popover

我安装了以下软件包:

print(next(len(set(list(x))) if 1<=int(x)<=25000 else "Number should be >=1 and <=25000" for x in [input()]))

我正在尝试使用提供的示例here添加一个弹出窗口。

这是确切的代码:

npm install --save react-bootstrap bootstrap

但是它根本不起作用。我在控制台中看不到任何错误。而且弹出窗口完全不呈现。我想念什么?

1 个答案:

答案 0 :(得分:0)

可能您只需要npm install react-bootstrap bootstrap。您建议的文档中也提到了这一点。

摘自this文章

Before npm 5.0.0, it was necessary to add --save after package name because it 
will save the installed package to package.json file in the dependency section. 
If you are using a recent version of npm save yourself from unnecessary typing 
and use npm install [Package Name] instead of npm install [Package Name] --save 
by default it will add the installed package to the dependency list in the 
package.json file.