我刚刚第一次尝试使用Yeoman generator for MeanJS,我想知道为什么Bootstrap按钮像Bootstrap2一样是四舍五入的,我的依赖关系表明我已经安装了Bootstrap3。
{
"name": "meanjsyoe",
"version": "0.0.1",
"description": "Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js",
"dependencies": {
"bootstrap": "~3",
"angular": "~1.2",
"angular-resource": "~1.2",
"angular-mocks": "~1.2",
"angular-bootstrap": "~0.11.0",
"angular-ui-utils": "~0.1.1",
"angular-ui-router": "~0.2.10"
}
}代码使用Bootstrap的标准类...
<a class="btn btn-primary btn-lg">Learn more</a>然而,它看起来像这样..。

发布于 2014-11-10 03:57:32
meanjs默认包含bootstrap-heme.css(参见all.js / production.js)。这个样式的按钮像Bootstrap 2.x。如果您不喜欢,可以删除including行。
https://stackoverflow.com/questions/26739196
复制相似问题