fix error in readme instructions
A Bootstrap theme based on Webmaker’s style guide
Check out our demo page, which showcases much of what Makerstrap can do.
bower install makerstrap
Includes Font Awesome and Open Sans automagically via @import. Don’t use this in production please.
<link rel="stylesheet" href="bower_components/makerstrap/makerstrap.complete.min.css">
Includes Font Awesome and Open Sans from a CDN.
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700" rel="stylesheet"> <link href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <link href="bower_components/makerstrap/dist/makerstrap.complete.min.css" rel="stylesheet">
This is for LESS importing:
@import 'bower_components/makerstrap/less/makerstrap'; @makerstrap-bower-path: '../bower_components';
npm install -g bower npm install -g grunt-cli
git clone https://github.com/mozilla/makerstrap.git
npm install
makerstrap
grunt
http://localhost:1944
less/
Be sure to run grunt build and commit the generated files to your patch if you modify any of the LESS files. This ensures that people using the library as a dependency will get the latest compiled CSS.
grunt build
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Makerstrap
A Bootstrap theme based on Webmaker’s style guide
Check out our demo page, which showcases much of what Makerstrap can do.
Usage
How lazy are you?
Real frikin lazy
Includes Font Awesome and Open Sans automagically via @import. Don’t use this in production please.
Somewhat lazy
Includes Font Awesome and Open Sans from a CDN.
Actually, I’m a ninja, hit me
This is for LESS importing:
Contributing
Development environment
git clone https://github.com/mozilla/makerstrap.gitnpm installfrom inside themakerstrapdirectory.gruntto start the dev server and LESS watch task, navigate tohttp://localhost:1944to see the demo page.less/directory.Submitting a Pull Request
Be sure to run
grunt buildand commit the generated files to your patch if you modify any of the LESS files. This ensures that people using the library as a dependency will get the latest compiled CSS.