Html angular项目中的Bootstrap赢得';我不能正常工作
我正在尝试在我的angular项目中使用引导导航栏。我是这样安装的: 在cli中安装bootstrap+jquery:Html angular项目中的Bootstrap赢得';我不能正常工作,html,angular,bootstrap-4,Html,Angular,Bootstrap 4,我正在尝试在我的angular项目中使用引导导航栏。我是这样安装的: 在cli中安装bootstrap+jquery: npm install bootstrap jquery --save angular cli.json: "styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "styles.css" ], "scripts": [ "../node_modules/jq
npm install bootstrap jquery --save
angular cli.json
:
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"styles.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/bootstrap/dist/js/bootstrap.min.js"
],
这是我的html:
找到了它
我使用的是Bootstrap3类,导入的是Bootstrap4类。愚蠢的错误
很抱歉给您添麻烦。“不行”。。。什么不起作用?我知道为什么在大多数情况下,但这是纯粹的安装引导,不会工作。。。但是如果你想要的话…更新它。你有代码+我的输出是什么,我期望是什么。你尝试过css和js文件的非精简版本吗?@GopakumarGopalan我只是尝试过,但没有区别。。。