我创建了一个带有Bootstrap的简单导航菜单。它在纯javascript中运行得很好,但是当将它改编为function时,汉堡包图标就不能工作了(点击就什么都不会发生)。我安装了引导程序然后将引导css添加到公用文件夹中的index.html中:
link rel="stylesheet" href="httpsbootstrap.min.css" integrity="sh
我有一个角度8的项目,是使用引导。我正在尝试使用组件的类型记录文件中的$('myModal').modal('show')来显示组件内部的模态对话框。submit()函数时,单击它,我得到以下错误:ERROR TypeError: $(...).modal is not a function
我使用npm install bootstrap --保存和