Saturday 15 March 2014

Yeoman MeanJS Generator Showing Bootstrap 2 Buttons -



Yeoman MeanJS Generator Showing Bootstrap 2 Buttons -

i tried using yeoman generator meanjs first time , i'm wondering why bootstrap buttons rounded in bootstrap 2. dependencies i've installed bootstrap 3 project.

{ "name": "meanjsyoe", "version": "0.0.1", "description": "full-stack javascript mongodb, express, angularjs, , 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" } }

the code uses bootstrap's standard classes...

<a class="btn btn-primary btn-lg">learn more</a>

and yet, looks this...

meanjs includes bootstrap-theme.css default (see all.js / production.js). styles buttons bootstrap 2.x. can remove including line if don't it.

see also: how utilize bootstrap-theme.css bootstrap 3?

twitter-bootstrap twitter-bootstrap-3 yeoman bower yeoman-generator

No comments:

Post a Comment