【发布时间】:2018-07-15 13:37:33
【问题描述】:
Out of the blue bootstrap 已停止处理我的项目。我不知道为什么。
这是我们的 package.json:
{
"name": "blankets",
"version": "0.1.0",
"private": true,
"dependencies": {
"amazon-cognito-identity-js": "^1.26.0",
"aws-sdk": "^2.151.0",
"bootstrap": "^4.0.0",
"jwt-decode": "^2.2.0",
"prop-types": "^15.6.0",
"react": "^16.1.1",
"react-bootstrap": "^0.31.5",
"react-dom": "^16.1.1",
"react-router-dom": "^4.2.2",
"react-scripts": "1.0.17",
"react-select": "^1.0.0-rc.10"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
}
这是我们在 index.html 中的导入
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
任何帮助/建议/建议将不胜感激!谢谢!
【问题讨论】:
-
“停止工作”是对问题的一个非常模糊的陈述。它是如何停止工作的?前后截图,或者控制台日志错误很有用。
-
和我的导航栏一样...答案是对的,bootstrap 3就是答案!
标签: node.js reactjs bootstrap-4 react-bootstrap package.json