首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >显示引导程序2按钮的约曼MeanJS生成器

显示引导程序2按钮的约曼MeanJS生成器
EN

Stack Overflow用户
提问于 2014-11-04 23:42:57
回答 1查看 73关注 0票数 0

我刚刚第一次尝试使用Yeoman generator for MeanJS,我想知道为什么Bootstrap按钮像Bootstrap2一样是四舍五入的,我的依赖关系表明我已经安装了Bootstrap3。

代码语言:javascript
复制
{
    "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的标准类...

代码语言:javascript
复制
<a class="btn btn-primary btn-lg">Learn more</a>

然而,它看起来像这样..。

EN

回答 1

Stack Overflow用户

发布于 2014-11-10 03:57:32

meanjs默认包含bootstrap-heme.css(参见all.js / production.js)。这个样式的按钮像Bootstrap 2.x。如果您不喜欢,可以删除including行。

另请参阅:How to use bootstrap-theme.css with bootstrap 3?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26739196

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档